Search Unity

Bake light in 4km (4000x4000one mesh) bad shadow

Discussion in 'Global Illumination' started by jetspeed, Feb 5, 2021.

  1. jetspeed

    jetspeed

    Joined:
    Feb 7, 2013
    Posts:
    10
    URP project
    using GAIA pro for terrain

    ■Situation
    -I have a terrain of 4km, created with a texture in 4K (4096+1)
    -when i set the camera near the ground doesn`t seems so bad, but when i see it from an altitude of 60mt~80mt the terrain texture seems so squared and it`s not so beautiful to see,,

    ■Question
    Even if from near is good do i have to change the texture tile ?
    The terrain polygons are too low?
    There is any suggested setting for a 4km terrain?

    please have a look to the linked images, maybe my settings are wrong?
     

    Attached Files:

  2. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,366
    One 4K lightmap for a 4km terrain will result in roughly 1 texel per square meter. You can try and split the terrain into smaller tiles to get better resolution (using a lightmap per tile).
     
  3. jetspeed

    jetspeed

    Joined:
    Feb 7, 2013
    Posts:
    10
    KEngelstoft. Thank you for the answer.
    I tried everithing for 4km in only one tile, never get good results.

    I`m trying now to spilt the terrains in another projects, and stamp the original map
     
  4. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    Just a tip:
    You can hide this simple issues with the fog system