Shadow Mapping Algorithm/Implementation problem

Started by
1 comment, last by Aiursrage2k 17 years, 11 months ago
Hi, I want to add shadows to my engine, so I decided to use shadow mapping or projective texture mapping (I think these two are similar if not the same thing). So, what I understand is that 1) I render the scene from the light's point of view into a shadow map 2) I render the scene from eye's view, 3) now I would like to project the shadow map over the scene and draw the shadows I don't know how to do step 3). Is it posible to do something like that, or I didn't understand the whole process ? And if so, is it possible to draw the shadows without having to modify the vertex/pixel shaders that draw the scene, but write new shaders that do shadow map projection and shadow drawing ?
Advertisement
Anyone, any ideea ?
In one of the versions of the SDK there is a shadowmap example, to save the trouble I uploaded it..

http://matrix.senecac.on.ca/~jlsawchu/shadows/
Insufficent Information: we need more infromationhttp://staff.samods.org/aiursrage2k/

This topic is closed to new replies.

Advertisement