Does anyone know something about this Camera variable?
I found it on this website http://unity3dhelp.com/ScriptReference/Camera-layerCullSpherical.html
This is not working for me, I use Unity 3.5 so I don’t know why it’s not working.
you should set the layer’s layerCullDistance first
like this
float distances = new float[32];
distances[0] = 20 //smaller than your camera clipping planes’s far value
**Camera.main.layerCullDistances = distances;
Camera.main.layerCullSpherical = true;**