For context, I want a bunch of little guys wandering all over the place that are see-through but they invert the colors behind them. Basically, I want an inverted color shader that only works in the areas that the little guys are in. I don't want to invert the little guys' color, I want to invert the colors that are behind them. How can I achieve this effect?
Raycast from the object to the camera. When a creature intersects it, apply your shader. Though really you can just change the albedo color of the object’s existing shader if they’re one color. No need for a shader at all.
Achieving an effect like this can be done via the use of a transparent shader that utilizes the screen texture.
In a spatial visual shader, simply use a Texture2D node and set it to Screen mode (make sure the UV coordinates are the screen_uv). Then invert the color of the screen texture and feed that into the Emission channel of the shader. To nullify any weird lighting, set both the diffuse and specular lighting to a value of [0, 0, 0].