View Full Version : Scale & Lights

03-24-2001, 05:26 AM
When I make a "scale" on a 3D shape (ex a sphere) happen that light on it change drastically... Exactly when I "enlarge" it, the sphere become darker while, when I "reduce" it, the sphere become very bright... Where is my error ? What can I do ?

03-24-2001, 07:51 AM
Use ...


03-24-2001, 10:41 AM
or glEnable(GL_RESCALE_NORMALS) if available. Might be slightly faster then GL_NORMALIZE, depending on the OpenGL-implementation.

03-24-2001, 01:16 PM
Thanks a lot!!!

It works finally http://www.opengl.org/discussion_boards/ubb/smile.gif

I love you !!!