Say we load up our favorite modeling program and texture some model and export it. But crafty as we are we combine the textures of the model into a texture atlas. The model’s texture coordinates hence do not hold anymore. The only ways I see to fix them are:
a) fix the texture coordinates as the model is loaded, adding to model loading time,
b) translate the texture with a texture matrix.
Solution b) means a separate texture matrix needs to be uploaded either to the GL (fixed pipeline), or the shader, wasting some precious time. What is the preferred way to get around this texture coordinate problem? Which solution did you decide on in your code?