Hello.
Let me start off by saying I am pretty new to shaders and Amplify Shader. I am trying to modify the XRay shader that comes with the examples in the Unity package. My goal is to make a shader that has the xray effect on objects that are behind other objects, but renders nothing if the object is not behind other objects. I have a non-Amplify shader that works like this, but I'm trying to get better at using Amplify, so I want to replicate this in my Amplify shader.
Any help would be appreciated!
Thanks.