Sign in to follow this  
MARS_999

GL_NORMALIZE

Recommended Posts

This may seem stupid, but do I need to call
glEnable(GL_NORMALIZE);
//or
glEnable(GL_RESCALE_NORMALIZE);
when I have static vertices and already calculated my normals? thanks

Share this post


Link to post
Share on other sites
Follow this rules in general :
- if you never call glScale, do not enable any normalizing,
- if you use uniform scaling (eg glScale(2,2,2)) then enable GL_RESCALE_NORMALIZE,
- if you use non-uniform scaling (eg glScale(1,4,2)) then enable GL_NORMALIZE.

[Edited by - vincoof on July 8, 2004 5:30:08 AM]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this