PDA

View Full Version : Shadows



girish3110
01-13-2008, 10:26 AM
Any link for a good and simple tutorial on shadows? I want to generate shadows for the following scene.
http://img28.picoodle.com/img/img28/4/1/13/f_scenem_41ebb3f.png

zed
01-13-2008, 01:25 PM
what!!! u wanna make parts of that even darker :)

an easy/common method is shadowmapping
see http://www.paulsprojects.net/tutorials/smt/smt.html

jwatte
01-13-2008, 03:11 PM
If the geometry is static (doesn't move), and the sun doesn't move, then the easiest thing to do is to pre-calculate the shadows as a set of light maps, and render the scene with dual texturing (and no lighting). Use a light mapper like Giles, or a light mapping modeler like DeleD to generate the light maps.

nib
01-13-2008, 05:47 PM
I really like this tutorial. That Pauls Project's tutorial is good too.

http://www.evl.uic.edu/rlk/cs594/final/part3.html

girish3110
01-13-2008, 09:06 PM
Thanks.