Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    Dismiss Notice

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


    Feb 19, 2020
    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?
    NotaNaN and MrPaparoz like this.