Search Unity

Help on tree shader

Discussion in 'Shaders' started by emergki, Oct 11, 2018.

  1. emergki

    emergki

    Joined:
    Oct 15, 2007
    Posts:
    422
    Hi, is there any shader I can use to avoid this kind of thing? (in this case, my trees are in "+" format, two planes crossing each other)

    Trees_Shader_Problem.jpg
     
  2. emergki

    emergki

    Joined:
    Oct 15, 2007
    Posts:
    422
  3. brownboot67

    brownboot67

    Joined:
    Jan 5, 2013
    Posts:
    375
    Sure, fade out the on edge faces based on a dot of the normal and view direction.