Original Post
🔒 Locked
multiple lights
Advertisement
When rendering a room, only turn on the light in that room.
To change lights, use the glLight functions. If all you have is one light per room, then using GL_LIGHT0 and its parameters is sufficient. Before rendering a room, set its parameters with glLight. If this is not the problem, then I'm afraid I don't understand where the problem is.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement