I have a full-screen quad that I place in front of the camera and use to apply an effect to the scene. In other words, I’m using a screen-space effect to draw some objects in the scene.
The shader attached to the quad requires the forward base pass and an additive pass for each light as usual. The idea to emulate scene lighting on the object I’m drawing into the scene in screen space. The problem is, most of my lights are spot lights, which skip their additive pass if the object “can’t be reached” by the light. Since the quad may be behind the light at given angles, it may skip the pass completely from certain camera transforms.
This is a problem, I don’t want unity to automatically skip the additive pass because it thinks what it’s trying to light can’t be touched by it. is there a way to disable this behaviour?