--
[ Picked text/plain from multipart/alternative ]
Hey guys,

I'm having trouble figuring out how Multi-Pass shaders in Source work.  I'm
looking at the dx9 shader dll files.  core_dx9.cpp offers the best example
of a multi-pass shader.  However, there are a few things I don't
understand.

1) How can I use the end result colors of the first pass and manipulate it
in the second pass.  The core_dx9 just shows it running the exact same thing
2 times, do the colors get combined automatically?

2) Do I have to redo all the calculations again for Light Direction and
Color?
---a) Light Direction:
-------1) How can I get the light direction and color in the pixel shader?
-------2) Is there a way I can reuse the values from first pass?

Any help would be appreciated 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