LWJGL Forum

Programming => OpenGL => Topic started by: palody on May 21, 2007, 20:21:58

Title: shadows
Post by: palody on May 21, 2007, 20:21:58
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!
Title: Re: shadows
Post by: Fool Running on May 21, 2007, 20:41:19
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.