View Full Version : Scale & Lights
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]
Dodger
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.
Thanks a lot!!!
It works finally http://www.opengl.org/discussion_boards/ubb/smile.gif
I love you !!!
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.