On 22-Oct-04, at 1:35 PM, Asher Dunn wrote:
I'm still having trouble with lighting in OpenGL. It just doesn't look
right. It looks like the light is moving, but I'm not moving it!!
Have a look at <http://www.fireyesoftware.com/OpenGLDemo.sitx>
(Carbon) and tell me if the lighting looks right. The light should be
a directional light pointing down the -z axis (the same direction
we're looking).
Hard to tell exactly what's going on just by looking at the output, but
maybe you're lighting vertices in model space instead of world space?
Frank.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|