• Advertisement

Archived

This topic is now archived and is closed to further replies.

Lighting position problem

This topic is 5950 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi. I have a problem with Light. In my render function I use gluLookAt to position camera in the scene. At the Initialization() function I position the light at for example (100,100,0) but when I move the camera, the light also move, and I don''t know how to make this one fixed. For example, If I have a cube in (200,200,200) and I load the light at this position too, if I move my camera I want that the light move with the cube also. A lot of thank

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement