shadow and volume calculation now uses the new model correctly