Further optimization of globe shader generation.