Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    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

    FrickinSilly

    Joined:
    Feb 19, 2020
    Posts:
    53
    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.