Ligthing and moving camera

Hi there,
I am facing a problem and can not solve it.
I’m drawing a number of areas and using a firstPersonaCamera ( to move between them.
The problem is that as I move, lighting changes in areas, see attached photos.

What could be causing these strange behaviour?

I haven’t used this particular addon, so I can’t say for sure. I asked a similar question about light and camera movement a bit ago.

In general if whatever transformations are being done on the camera are also being done to the light that may be your problem. If so, try pushing and popping the matrix so they are in separate scopes? Perhaps the light and the camera and being parented (as in examples/3d/cameraParentingExample )?

Thank you for answering Caroline.
I saw your thread and the example you mentioned.
Finally I’ve solved this issue with glEnable(GL_CULL_FACE)