Search Unity

Why is Shadow Intensity on the Light 2D script and not on the Shadow Caster 2D script?

Discussion in '2D Experimental Preview' started by FrickinSilly, Dec 26, 2020.

  1. FrickinSilly

    FrickinSilly

    Joined:
    Feb 19, 2020
    Posts:
    13
    I'm using UnityEngine.Experimental.Rendering.Universal and wondering why shadow intensity was implemented on the Light 2D script and not the Shadow Caster.

    If you have two objects, a clear balloon and a basketball, they are going to emit very different shadows in real life. With Unity's current implementation, I can add a Shadow Caster to each of those objects, but the intensity of their shadow will be identical given the same light. (I can create multiple lights and target different sorting layers, then put the balloon/ball on different sorting layers, but I shouldn't have to do that. It's quite unscalable).

    Am I missing something or using shadows incorrectly?
     
    GliderGuy and MrPaparoz like this.
unityunity