render shaows without lightmap ????

Hello!
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 ? … :slight_smile:
thanks in advance
Harry

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 … :slight_smile: