Search Unity

Stylized Triplanar Shader for use with Terrain

Discussion in 'Shaders' started by minibeaststudios, Apr 11, 2018.

  1. minibeaststudios

    minibeaststudios

    Joined:
    Aug 9, 2017
    Posts:
    35
    Hey,

    I'm really struggling with this one, I'm a junior programmer and trying desperately to figure it out as it will improve our efficiency no end, but I'm having no joy so far!

    I essentially want to be able to use the shader below with Unity terrain whilst maintaining the splat map texture painting functionality.



    Is this even possible, has anyone achieved anything like this already?

    Any help would be greatly appreciated!
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,343
    There are plenty of triplanar shaders for terrain out there. The main issue is most triplanar terrain shaders don't have a separate top and side texture, though that's completely possible to do. The biggest issue might be running out of texture samplers.