Right now Im applying a global shader that looks like overdraw mode using
That works fine, I can temporarily change everything in the scene to render with my overdraw shader when the function is utilized.
However, Now I have 2 gameobjects in the scene that are a type of tactical overlay. I dont want them to be rendered with my global overdraw shader like every other gameobject in the scene.
So is there a way to use Camera.SetReplacementShader() or something similar to apply a global shader to everything except one or two game objects? or am I out of luck because of the nature of using a global replacement shader?