Search Unity

How about ZTEST Greater?

Discussion in 'Shaders' started by dreamerflyer, Dec 13, 2014.

  1. dreamerflyer

    dreamerflyer

    Joined:
    Jun 11, 2011
    Posts:
    927
    When i turn on Ztest Greater ,the model will overlap itself ,how to avoid caculate itself?
     

    Attached Files:

  2. imaginaryhuman

    imaginaryhuman

    Joined:
    Mar 21, 2010
    Posts:
    5,834
    Less than.
     
  3. dreamerflyer

    dreamerflyer

    Joined:
    Jun 11, 2011
    Posts:
    927
    Hi imaginaryhuman,I want Only overlay the part which be occluded ,how to made that?
     

    Attached Files:

    • only.png
      only.png
      File size:
      27.9 KB
      Views:
      900
  4. dreamerflyer

    dreamerflyer

    Joined:
    Jun 11, 2011
    Posts:
    927
    OK,get it 。I changed the pass order to correct.