Create a light (or effect) that follows the camera in 3D?

I’m trying to make a light source that follows the camera in 3D. I see some folks talk about putting an effect on another layer to achieve it but I haven’t understood how to yet.

Thank you!