Search Unity

Question Massive rendering issue with an unlit shader

Discussion in 'Shader Graph' started by BarDavid123, Oct 16, 2019.

  1. BarDavid123

    BarDavid123

    Joined:
    Dec 5, 2017
    Posts:
    3
    I'm using a very simple Triplanar shader, but the rendering is all over the place. From my little knowledge of 3D rendering I can guess it's a problem with the depth calculations , but I don't know if unlit shaders ever use depth.

    How can I fix this?
     
  2. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    Welcome to the forum.

    Did you try it without the triplanar shader? Does the sphere then render correctly behind that green blocky structure? Did you test other shader on the sphere?