Search Unity

  1. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice

[SOLVED} Shadow Caster 2d not working? [2019.3]

Discussion in '2D Experimental Preview' started by Rob_Koda, Apr 12, 2020.

  1. Rob_Koda

    Rob_Koda

    Joined:
    May 2, 2017
    Posts:
    3
    Howdy

    I'm playing with the new 2D lights and URP in general. I tried to create shadows for some of my objects, but adding the Shadow Caster 2D component doesn't seem to do anything.



    Event after updating the shape of the caster, and moving the light source around, I still don't have anything.

    There's basically 2 lights, a blue light on the left of the tree, and one global orange one.
    The background is on a separate rendering layer, but that's it. Nothing fancy.
     
    ZenOFF, kaleidosgu, nekowei and 2 others like this.
  2. Rob_Koda

    Rob_Koda

    Joined:
    May 2, 2017
    Posts:
    3
    Solved: actually each light need to have it's shadow intensity set.
     
  3. Sam_Ooi

    Sam_Ooi

    Unity Technologies

    Joined:
    Mar 5, 2018
    Posts:
    52
    Hi Robin, thanks for coming back to let us know how your fixed it. We'll add to the documentation to make sure that step is clearer in case it is missed.
     
  4. RamjobFlux

    RamjobFlux

    Joined:
    May 12, 2018
    Posts:
    1
    thanks for pointing out to these 2D shadows i didnt even know they existed
     
  5. FredMastro

    FredMastro

    Joined:
    May 11, 2014
    Posts:
    6
    That helped me, thank you.
     
  6. Dirly

    Dirly

    Joined:
    Mar 24, 2013
    Posts:
    19
    I cant even move the nodes it just resets them to the center!
     
unityunity