Spotlight with parallel directional light possible?
Would it be possible to modify the Spotlight to have parallel rays, similar to the directional light?
We have scenes that we wish to light at a low angle, such as during sunset. We have just a few objects that will cast dynamically shadows in the scene. Our goal is to light the scene with directional light, but we don't want to use cascade shadow maps, and instead prefer the dynamic shadows from a spotlight. The CSMs seem too costly for the whole scene for a few dynamic objects and the results are not as good as the spotlight shadows. So ideally, we could setup a directional light to light the scene for static shadows and a spot light to light the dynamic shadow casters, but with parallel rays.
I've poked around the code, but my untrained eye is seeing many assumptions about LightType_Directional and CSM's and transforms and I'm not making any headway on how to get this done.
Thoughts and ideas?
asked Apr 03 '15 at 07:29 PM in Rendering
We currently have a feature request in that is similar with UE-13155.
answered Apr 06 '15 at 05:59 PM
Tim Hobson ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here