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. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    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.