Skip to main content
GameDev.net gamedev.net
🔒 Locked

Shadow Mapping Algorithm/Implementation problem

Started by svengali_no May 23, 2006 at 11:56 AM 1 replies 450+ views
Original Post
svengali_no
svengali_no
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 ?
Aiursrage2k
Aiursrage2k
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/

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.