Original Post
🔒 Locked
GL_NORMALIZE
Advertisement
If you have already calculated the normals and they are vectors of length 1(normalized vectors), than neither of these calls is necessary because the GL_NORMALIZE only makes your normal vectors to length 1.
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]
- 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]
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement