Fade opacity of a 3D layer based on distance from camera

warning: Invalid argument supplied for foreach() in /nfs/c02/h06/mnt/26164/domains/xscriptorium.com/html/modules/taxonomy/taxonomy.module on line 1280.
Author: 
Adobe/Dan Ebberts

Fade the opacity of a 3D layer based on its distance from the comp's camera.