-
Link Light intensity to Camera Position
Hi,
I really hope someone can help me with this…I’m trying to create lights attached to the surface of an earth model that will fade out when they are on the far side of the sphere (based on distance from camera).
So I have parented lights to 3D nulls generated in Element3D – these nulls are in turn parented to a single null that controls the earth’s rotation.
The only way I can think of to ‘hide’ the lights when they are on the far side of the earth is to link their intensity to the distance from camera via an expression.The lights are referenced by co-pilot’s Optical Flares plugin, but the ‘Foreground layer’ workaround wouldn’t work in this instance as the lights would be obscured when they are on either side of the earth, only when they are on the horizon would they be visible.
Hope that makes sense.
So looking for an expression that will dim a light when it gets to a certain distance from the camera, even if the light is parented to a null.Thanks in advance
Ben Mason
motionographer
London
UK

