Added a define to control using the more or less accurate maths function for shadowing.
Of note: the less accurate doesn't flicker.