This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
I'm writing a shader where I wish to utilise alpha testing however I
want to alter the alpha reference value in the dynamic state block but
the alpha test function is in the IShaderShadow interface (i.e. I have
to alter the alpha reference value from the shadow state block).  Is
there any way for me to alter the alpha reference value from the dynamic
state block?

Also the code in the shadow state block appears to be called only once
rather than during every frame, does the state you set in the shadow
state block get cached and set every frame by the engine?  If there is
no way to alter the alpha reference value in the dynamic state block is
there a way to force the shadow state block to be called so I can set it
there?
--


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

Reply via email to