Calculate terrain detail texture coordinate in vertex shader so that it works better on mobile devices.
For Travis CI - switch CI build to use OS X build environment.