Archived

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

hawflakes

Shadow Math Prerequisites

Recommended Posts

I was reading up on simple, basic shadows with Direct3D 9 and an explanation of the math that is involved in calculating them. I was able to kind of follow what the author was saying but I don''t really have a very good understanding of how this stuff really works. Does anyone know some in-depth tutorials that really do a good job of explaining the math involved there? I tried this site''s resources but the articles I found were either from the Direct3D 7 era or describing the volume shadows, which are the more sophisticated complicated kind that I don''t want to start with. Thanks

Share this post


Link to post
Share on other sites
Well actually the math behind shadow volumes is probably far easier than the math behind stenciled plane shadows (which is what I assume you mean by simple shadows). So go read an article on shadow volumes, you may find it a lot easier.

Share this post


Link to post
Share on other sites
You may want to check out nVidia''s various presentations. Also, the shadow mapping algorithm is clever and fairly simple to understand.

http://developer.nvidia.com/object/docs_shadows.html

In particular,

http://developer.nvidia.com/object/shadow_mapping.html

(Some of that doc will be intuitive, some of it will be confusing.)

Graham Rhodes
Senior Scientist
Applied Research Associates, Inc.

Share this post


Link to post
Share on other sites