Search Unity

How to use my own material on terrain?

Discussion in 'Shaders' started by tr1te, May 26, 2013.

  1. tr1te

    tr1te

    Joined:
    Sep 5, 2012
    Posts:
    38
    I thought that I can use the material field in terrain properties, but its wrong, it’s a material for base map only.

    And how can I use my own material/shader on terrain?
     
  2. spraycanmansam

    spraycanmansam

    Joined:
    Nov 22, 2012
    Posts:
    254
    If you want to use your own replacement shader for the terrain you'll need to override the default shader by changing your shaders name like so --

    Shader "Hidden/TerrainEngine/Splatmap/Lightmap-FirstPass"
     
  3. tr1te

    tr1te

    Joined:
    Sep 5, 2012
    Posts:
    38
    Lot of thanks.