30.06.2012, 15:51
Use an integer for every object which defines the material. 0 for default texture, 1 for different material, 2 for text written on it. Simply check the value of this integer and relating this value process the data of the object.