I am currently a bit lost on how to approach lighting of one of my scenes. It is not yet set up in the engine, because I want a solution to the lighting problem before I invest too much time in building it out nicely.
This is one of the concepts for the scene:
In every other recess in the wall, there is a light stripe from the ceiling to the floor. In this concept they are simulated using two point lights each. However, this creates specular reflections which spoil the illusion of light-stripes. That problem can be solved in Unreal Engine using the source radius and length, which creates much better specular highlights. But the light is still a point light, so the attenuation radius has to be large enough that there is no noticable falloff on the sides of the recess. That large attenuation radius then leads to overlapping lights, which is bad.
The lights should be stationary (additional static lights are ok) because the lights change color ingame (from white light to flashing red as an alarm signal). No lights move, so fully dynamic lighting would just be unnecessary overhead.
- The ideal solution would be a true line/capsule light, i.e., a light where not just the source is a capsule, but the actual geometry rendered in the lighting pass is a capsule and shading calculations are based on the distance to a line and not the distance to a point. But as far as I know such a thing does not exist for Unreal Engine.
- The next best solution would be spot lights with different opening angles in y and z. This would help faking the effekt, by using a static pointlight in combination with a spotlight wich is narrow in the axis along the corridor and wide in the up axis of the corridor. Again, I don’t know of an implementation of this for UE.
- As a last resort we would have to move away from the concept to something that is doable in UE, but I hope we don’t have to.
Now the question: Does anyone have an Idea how to achieve a lighting similar to the situation in the concept?