Set up a uniform and JS variable for maximum texture repeating on Ellipsoids.