Disable Lighting when player turns his back to it

Hello,

I am currently working on an ArchViz VR Project in UE 5.2 (lumen+nanite), and I am facing the Problem that the performance is bad.

The main Problem is the amount of lights in the scene. I tried to reduce the amount already and it helped a bit. But the best solution would be if it were possible to disable lights when they are not in the view of the player or if they are behind the player.

Is this achievable in UE? I already played around with MaxDrawDistance but because of the shape of the room and the placements of the lights it does not work well.

Any help is much appreciated.

It is possible. You’d need an array of all the lights in the player and, periodically ( read tick ) use ‘dot product’ to figure out how far behind the player each light is, and adjust it’s intensity accordingly…

Might be better to deal with the lighting situation :slight_smile: