Archived

This topic is now archived and is closed to further replies.

Syrillix

shadow mapping without HW shadow maps

Recommended Posts

ok, ive read up on the topic but what remains a mystery to me is how to encode the depth into the color channels of the shadow texture. Does anyone know how to go about doing this? Get busy livin'' or get busy dyin''... - Shawshank Redemption If a man is talking in the forest, and no woman is around to hear him, is he still wrong? - Unknown Fulcrum

Share this post


Link to post
Share on other sites
ATI''s RenderMonkey comes with an example for shadow mapping which uses (I think) the alpha and blue channels to store depth information. It was a PS 1.4 shader, but can easily be rewritten as 1.1 or 1.3.
Sorry, I''m not in Windows at the moment so I can''t go and find the example.


- JQ

Share this post


Link to post
Share on other sites