Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Terrain not receiving shadows

Discussion in 'World Building' started by Haedrian, Apr 27, 2020.

  1. Haedrian

    Haedrian

    Joined:
    May 4, 2014
    Posts:
    4
    I'm having this issue where Terrain is not receiving shadows, although all the other objects in the scene are.



    Note how the table has a shadow since it's on a tiled floor but the trees don't - the trees are normal prefabs and not terrain trees.

    In the terrain settings, I have set it up to use Lightmapping.


    I couldn't set "Scale In Lightmap" to any higher because it then complains about the Atlas size being too large.

    The objects are set to cast shadows, the light source as well, and I've set the shadows distance to very large numbers and it doesn't make any difference.

    I'm using the Universal Render Pipeline if that makes any difference.
     
  2. GreenPandaStudios

    GreenPandaStudios

    Joined:
    Feb 4, 2020
    Posts:
    9
    I recently update to 2019.4.3, have the exact same issue with URP.
     
  3. Haedrian

    Haedrian

    Joined:
    May 4, 2014
    Posts:
    4
    I figured out my issue. I had originally started with LWRP.

    In package manager I uninstalled LWRP, and then reinstalled the same version of URP instead. And it just worked.