The scene is made up in 2,5D, there are seperate illustrator objects in z space. A man, some trees, a skyline etc. wenn you move the camera sideways you get that nice parallax effect between the objects.
Now i would like to dolly backwards with the camera and lets the objects fade away in Z depth. a sort of fog kinda speak. I could do it manualy by fading the opacity of each layer but that would be unconvienent with keyframing and timing re-adjustments. The built in after Effects camera has the ability depth of field but that only makes objects out of focus wenn they get in futher in z space.
Im trying out Element 3D but the fog ability only works on the elements inside the element (3d obj) not the other layers in my comp. (As far as I could find out)
The simple-but-janky way to do it is to create a bunch of semi-transparent solids, space them at regular intervals from the camera, and then parent them to the camera so that they follow the camera's movements. As your camera backs away, more of the solids move in front of your objects, and gradually occlude them. Bonus points for using the fractal noise effect on the solids to create billowing cloud shapes.
But doing this on opacity can create issues with overlapping layers. Maybe it's better to use this expression with a tint effect so that you can color distant objects to give the appearance of fog and keep them opaque as they should be.