Main Menu

shadows

Started by palody, May 21, 2007, 20:21:58

Previous topic - Next topic

palody

hi.. how do i add shadows to my objects? is it simple or do i have to add like vectors and stuff? i tried studying the code on nehe.gamedev.net but it got me more confused... help!

Fool Running

I'm afraid shadows aren't easy to do (at least not real shadows with the stencil buffer or projected textures) :(
I would try to understand the NeHe tutorial on shadows if you want to dive into them. It helped me a lot to understand stencil buffered shadows. There are LWJGL examples of the tutorial at the bottom of the page.
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D