Search Unity

Terrain Tree Nature/Soft Occlusion shader in URP

Discussion in 'World Building' started by chanfort, Feb 10, 2020.

  1. chanfort


    Dec 15, 2013
    I was wondering if Nature/Soft Occlusion shader is supported in URP? I was recently experimenting with trees in URP and getting issues. If I use Nature/Soft Occlusion shader, trees appear to be rendered properly only in billboard phase. While nearby trees appears pink. Changing material to use Universal Render Pipeline/Nature/SpeedTree8 seems to be working for nearby trees but not for billboard phase. I am also getting warnings in console:

    Code (CSharp):
    1. The tree MyTree must use the Nature/Soft Occlusion shader. Otherwise billboarding/lighting will not work correctly.
    2. UnityEngine.TerrainData:RefreshPrototypes()
    I also didn't found in Universal Render Pipeline/Nature category any other soft occlusion shaders. So I was wondering if URP is supporting terrain trees?
    pokruchin likes this.