Hi there,
I am currently working on a game where different sub-levels represent different dimensions.
Whilst optimizing, I have realized that one sub-level’s directional light (Alley) is being calculated in an interior level (interior).
This directional light is not needed at all for the interior level and yet is still taking up 3.2 ms of every draw call which is obviously a considerable optimization if I can sort it.
Is there any way that I can tell a directional light to only effect the sub-level that it is in, rather than all of the sub-levels visible at the time? Ideally stationary as I would like some dynamic shadows for some objects in the Alley level.
A great answer would be to tell me that UE4 has light channels, although I know that deferred rendering means this is unlikely.