Lights and Shadows

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:

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.

Thank you. I will work on it. :slight_smile: