Add support for texture offset and scaling in generated shaders