Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question How to hide objects behind a transparent object (with Dithering shader applied to)?

Discussion in 'Shader Graph' started by lele1592, Nov 28, 2022.

  1. lele1592

    lele1592

    Joined:
    Sep 10, 2018
    Posts:
    4
    Hi guys,
    I am trying to generate a shader in ShaderGraph to hide all objects behind a specific object rendered with Dithering to make a fake transparency appearance.


    So I want to make the cube transparent (through Dithering technique) and, at the same time, I don't want to see the parts of objects behind it that intersect with the cube.

    Any ideas? Thank you all.
    upload_2022-11-28_15-32-37.png