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


Shadow Volumns in DirectX 9

Recommended Posts

Hi, I''m trying to convert the code thats in the Microsoft samples on Shadow Volumns into my own class. I have a terrain created with a height map. I can view the translation of where the shadow would go with the light source, but it doesn''t seem to be recognising that it is hitting the terrain, so no shadow is drawn. I''ve basically used all of the code that is in the MS sample so I cannot see what there is different in what I''m doing. Can anyone help? I know this may seem a bit vague, but I really don''t know what the actual problem is. Thanks.

Share this post

Link to post
Share on other sites