In the situation where an object has multiple textures, each texture could be given a custom property to denote what glsl uniform name it should be bound to. In the absence of such a custom property, the exporter should assume more intelligently what a texture is for. Eg, if an object has two textures, one effects the color of the object, and the other effects the normals, then they should default to "diffuse_texture" and "normal_texture" respectively.
This should hopefully not require any changes in the importer.
In the situation where an object has multiple textures, each texture could be given a custom property to denote what glsl uniform name it should be bound to. In the absence of such a custom property, the exporter should assume more intelligently what a texture is for. Eg, if an object has two textures, one effects the color of the object, and the other effects the normals, then they should default to "diffuse_texture" and "normal_texture" respectively.
This should hopefully not require any changes in the importer.