Lighting and scaling

Started by
1 comment, last by Dirk Gregorius 16 years, 9 months ago
When I debug render my geometry and apply a scale matrix on it the object appear darker the greater the scaling. Somehow lighting/material and scaling seem to be related. Can I avoid this effect somehow? Cheers, -Dirk
Advertisement
You need to make sure you normalise your normals once it's done.

Try

glEnable (gl_normalize)

or glNormalize()

can't remember the exact way it is, one of those two should work.

if not, look it up on google.
Indeed, silly me :-)

Thanks!
-Dirk

This topic is closed to new replies.

Advertisement