use good maths in terrain frag (finishing 913e1867)