Hi there, I’m trying to imitate 360 all-round lighting using directional lights
I’ve cretead 4 directional at 90 degree,each pointing to different side and 1 more light to draw shadows from top
Is there a better way to do it? Some objects, like a sphere ‘corners’ for example looks weird
Is there a setting like opacity for shadows? Why do they apper ‘choppy’ and how do I solve this?
For all around lighting usually using a prefiltered cubemap to get Image based lighting is better:
But if you want to go with using multiple directional lights there is a new property that will be shortly released in the engine which allows you to control the shadows intensity per light:
10:33AM - 21 Jun 22 UTC
Supports spot, point/omni and directional lights.
Updated the lights.tsx exampl
… e to add controls for the shadow intensities.
Shadow is calculated as a separate variable, and then 1 -> shadow is lerped with intensity value.
Lights have a new member `shadowIntensity`.
![Kapture 2022-06-21 at 13 49 31](https://user-images.githubusercontent.com/107400752/174805042-e066d554-3c9d-4a0e-8567-4c065cab145b.gif)
To improve how smooth the shadows look try some or all of the following:
Increase shadows resolution
Increase shadows cascades
Decrease shadows distance
Use VSM shadows instead of PCF
Shadow resolution did the trick, such a huge difference, shadow intensity is indeed must-have property, can’t wait! Thanks for your help