Hi,
I’m rendering a scenegraph multiple times from different angles using separate cameras. I would like the lighting that’s applied to the scene to be different in each camera.
I’ve set the CameraMask on each camera and tried to hide() the lights from cameras in which those lights shouldn’t be applied, in a naive attempt to control whether those lights are traversed by the renderer. But that didn’t seem to have any effect.
How do I properly control lighting on a per-camera basis?
One tactic I haven’t tried is to instance my entire scenegraph to a new parent for each camera and apply the lighting to that per-camera parent. But that seems like a wasteful hack.