I’m trying to post process (saturation specifically) only the parts of the world that are lit by a light source like a flashlight or a spotlight. Is there a way to get a mask of only the light source, or get at this info is any other way to use in post processing?
Most of the information I found was dealing with custom stencils which as far as I understand apply to whole objects. Or custom depth which doesn’t seem like it helps since its applied the whole scene.
I basically want to post process only the area of the scene that is lit by a specific light source.
Any advice would be awesome, thanks!