--
[ Picked text/plain from multipart/alternative ]
I built myself a Shader that I wanted to toggle on the model using .vmt's
that use my custom shader.  I was successful using ForceOverrideMaterial to
change one material of the model but it overwrote the other skin of the
model with the material I set.  Other Methods like
pMaterial->SetShaderAndParams( keys ); doesn't work because it sets all
objects globally using the same .vmt to use the said shader+params.

My shader is basically like an overlay, but I used a pixel shader to do the
color stuff I wanted.  I've heard about screen overlays, but what about
model overlays?  Anyways, if someone knows how to change .vmt files or
shader type on "ONE" model to its "multiple" skins, I'd really appreciate
the help. Thanks.
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to