This is very easy to do in Cycles, just have to click on the camera checkbox.
I cant figure out how to do this in EEVEE.
Any help would be appreciated.
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.
Sign up to join this communityEEVEE now supports some Light Paths but not all seems to be supported yet, or in working order.
Until then, use this workaround.