added a better decal distance setting function

still needs tweeking since camera is offset from z-axis