Lighting and scaling
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
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement