ExponentialFog and distance
I just try to use ExponetialFog and I like to be able to set also the z value of the given formular (from the docs)
"The fog blending factor, f, is computed as follows:
f = e-(density * z)
z is the distance from the viewpoint.
density is the density of the fog."
I thought that z equals the BackClipDistance... but this has no influence to the blending when I change this during runtime (the clipping works but no effect to the fog...)
Which value has to be changed and how to get this distance?
searching in the View class wasn't succesfull.