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 Decal that does not draw on sides of an object

Discussion in 'Shader Graph' started by Thunderik, May 13, 2020.

  1. Thunderik

    Thunderik

    Joined:
    Apr 28, 2020
    Posts:
    32
    Hi,

    I'm trying to build on the Decal Graph and create a decal that does not draw on the sides of a cube so that the decal in practice "ignores" drawing on anything but the ground. I've found out that you can use the https://docs.unity3d.com/Packages/com.unity.shadergraph@7.1/manual/DDY-Node.html operator but I seem to be using it wrong.

    I hope someone could point me in the right direction, thanks for you time :)
     

    Attached Files:

    • ddy.PNG
      ddy.PNG
      File size:
      73.2 KB
      Views:
      326
    Last edited: May 13, 2020
  2. Thunderik

    Thunderik

    Joined:
    Apr 28, 2020
    Posts:
    32