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.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Question Projection of faces on the Y axis

Discussion in 'Shader Graph' started by JaimeGranel, Mar 22, 2023.

  1. JaimeGranel

    JaimeGranel

    Joined:
    Nov 6, 2020
    Posts:
    11
    Hi, I'm in Unity URP making a shader that generates a mask to block another shader. I want this mask to be generated by blocking faces based on the Y axis. Below is a diagram of what I have in mind:
    duda.png

    The faces that form a right angle with the ground would not be affected unless there is something on top of them. I would like these occlusions to be reduced by distance. As the example a below duda 2.png