Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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