Scaling, Lighting and Normals
Whenever I call glScalef() the normals also get scaled and therefore don''t have a length of 1. This changes the lighting. When I scale an object to make it big then it gets dark, and when I scale an object to make it small it gets bright.
How can I have it where glScalef() won''t scale the normals?
Thanks.
If you do want your normals to have a length of 1 you could enable GL_NORMALIZE. But it could half your framerate if you do.
Edited by - Wouter on December 4, 2001 9:18:22 AM
Edited by - Wouter on December 4, 2001 9:18:22 AM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement