Search Unity

Terrain material & shader

Discussion in 'World Building' started by Silvere69, Apr 25, 2022.

  1. Silvere69

    Silvere69

    Joined:
    Jul 12, 2016
    Posts:
    39
    Hello,

    I wan't to create a terrain material with special shader to "fix" uv tiling, scale (distance) and slope.

    I find some good shader but when i want to drag & drop this material in terrain, i have a warning who tell me that my material is not compatible (unity seem to prefer URP/Terrain/Lit sahder) with terrain even if i add "terrain compatible" in my shader code or maybe i don't add in good place the terrain compatible bool well anyway i don't really understand



    Someone can explain or tell me a solution please? :)

    Thanks
     
    Last edited: Apr 25, 2022
  2. Silvere69

    Silvere69

    Joined:
    Jul 12, 2016
    Posts:
    39
    Up? i wonder why unity can't let use any material (btw i try urp/hdrp and standard project... same probleme)
     
  3. Xabie

    Xabie

    Joined:
    Mar 9, 2019
    Posts:
    1
    Sorry to bother, but did you find a way to supress that warning?
     
  4. Silvere69

    Silvere69

    Joined:
    Jul 12, 2016
    Posts:
    39
    nope sorry :(
     
  5. DEEnvironment

    DEEnvironment

    Joined:
    Dec 30, 2018
    Posts:
    437
    its telling you in the warning how to fix by adding the Tag
     
  6. TerraUnity

    TerraUnity

    Joined:
    Aug 3, 2012
    Posts:
    1,255
  7. Silvere69

    Silvere69

    Joined:
    Jul 12, 2016
    Posts:
    39
    it was only test, i do something else fianlly... sorry :/