Figuring out how to associate materials, textures and shaders