I want put several cameras in my scene then project a green (or any color) square to show what that camera is seeing. I actually got this to work using the blob shadow projector but now my problem is that it goes through the wall and hits the things behind the wall. I understand the whole “changes the texture of anything that intersects it” … But I want it to work like a spotlight and not go through the wall. Is there something I can set in the shader to allow this? I see on the blob shadow shader “Cast Shadows” = no. Or is there a way to make a square light?
Put your wall (and anything else you want it to project on) in a custom layer. Then change the ignoreLayers variable in your projector to all layers except the custom layer. It will now only project onto objects that are in that layer.
You can put a cookie on a spotlight, which makes it behave somewhat like a projector. Shadow casting will still work.