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 ?
Use …
glEnable(GL_NORMALIZE);
[CS]
or glEnable(GL_RESCALE_NORMALS) if available. Might be slightly faster then GL_NORMALIZE, depending on the OpenGL-implementation.
Thanks a lot!!!
It works finally
I love you !!!