I’ve created a box rotating over a quad, both are textured and filtered. and a light is over the box. Now i want that the box throws a shadow on the large quad (ground), but i don’t know how i can do this. Do i have to create lightmaps, or can opengl render this for me ? … …
thanks in advance
First off, no, OpenGL can not do this automatically for you. You have to implement one of the various shadow algorithims. See http://www.opengl.org/Coding/Rendering.html for many examples and info.
Thank you very much. I’ll try it … …