View Full Version : Lights and Shadows

05-05-2004, 06:58 AM
I've got a problem which is older for me. Maybe you can help me.

In my Teapot 3D game, the shadows doesn't works on the bitmap planet and the light (GL_Light_0) goes up and down when I move the teapot (and it has static position). Have you any suggestion?

The game is on my web site:

05-05-2004, 08:50 AM
First OpenGL doesn't support shadows -- at least not directly. Second, it may be that you are moving the view rather than the teapot. See chapter 3 in the OpenGL Programming Guide. View vs. model transformations can be confusing.

05-05-2004, 01:26 PM
Thank you. I will work on it. :)