If flare is visible...

Hello,

I want to create a script that I attach to a camera to which I have dropped a glow script, and can comehow detect if a flare is currently visible boost the glow color to a certain point, else drop the color to black.

Any ideas?

Thanks!!

Alejandro.

You could raycast from the camera to the flare object, and check if you hit anything that is nearer. If you don’t, then the flare is visible.