Fix the texcoord range for external lightmaps in a shader with an internal lightmap to be 0.0 to 1.0. (With texture repeating it would wrap around and read correctly but clampMap or tcMods might not of worked.)
Fix merged lightmaps using tcGen environment. (Fixes #636.)
Only apply the hack to fix tcMod transform on internal merged lightmaps to tcGen lightmap.