assign textures and materials