Hope this question makes sense but is there a way to have a shader that always renders in front of another shader but always stays behind another shader? May sound strange but basically I need a shader that renders in between two other shaders.
I’ve attached a screen shot that may help. I want that green line material to always stay behind walls but always render in front of that button object.
In addition to the built in “Geometry”, “Transparent” etc., you can manually specify that a given shader should be rendered at Tags { “Queue” = “Geometry+10” }, which will be after all other normal objects, but before any transparent objects, for example. And you could have another shader with Tags { “Queue” = “Geometry+20” }, which will be rendered after the first. And a shader with Tags { “Queue” = “Geometry+15” } will be rendered between them.