I’m trying to make a shader that can detect geometry intersection with other objects. I read a lot of solutions using shader code but I want to make it in ShaderGraph,
As far as I understand, you can achieve this effect by comparing each vertex with the depth buffer.
Any more details or explanations is very appreciated.
_
Can it be done in ShaderGraph using the Scene Depth node?
Scene Depth node’s documentation
_