Search Unity

Baked lightmaps, shadows on terrain messed up

Discussion in 'Global Illumination' started by oen432, Jun 12, 2021.

  1. oen432

    oen432

    Joined:
    Apr 24, 2015
    Posts:
    40
    I'm trying to bake lightmaps and have nice looking shadows from static trees placed on a terrain (this is going mobile so I need performance, can't use too much Realtime shadows). The result is completely opposite. There is a big dark square, trees shadows are barely visible.
    Using URP, Unity 2021.1.11f1.
    It goes from this
    https://imgur.com/IowlJ3M (for some reason it's not showing image so posting link)

    To this


    Baked Lightmap view


    Here are my Lightmapping Settings


    Terrain is 100x100, which is small, here are the terrain lightmapping settings
     
    Last edited: Jun 12, 2021
  2. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    Increase scale in lightmap
     
  3. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,366