Search Unity

Speedtree specular shader

Discussion in 'Shaders' started by Davain, Dec 1, 2016.

  1. Davain

    Davain

    Joined:
    Dec 20, 2009
    Posts:
    25
    Hello,
    Is there any way to turn on specular element in speedtree shades in Unity 5.4.1 ?
    In 5.3.X one could edit the shader file and replace lambert with BlinnPhong and specular would work. In 5.4.x and forward the shader had all its specular part cut out (at least from what I can see) and can't be "turned on". Using an older version of the shader doesn't work either.
     
  2. Davain

    Davain

    Joined:
    Dec 20, 2009
    Posts:
    25
    Never mind, needed to copy the older SpeedTreeCommon.cginc as well