Lightning refresh (newbie question)

Hello !



My game is running at 19 fps but the lighting refresh seems to occurs only three or four times per second …

I use a moving spotlight on a mesh imported from blender…





Thanks for your replies !  :slight_smile:

Try calling updateRenderState on the scene effected by the lights.

Here are some screenshots :

the problem is that there is only one lighting refresh beetween this two images …

I readed on the forum it could be normals importing from blender problem, or perhaps is it a question of texturing…

I imagine the answer is quite simple but I’m new at game programming …  :slight_smile:











Any ideas ?

I tested my game with windows XP and the lighting is ok …

the lighting seems to be less refreshed under Linux ( with latest Nvidia drivers)