Implementing Textures and materials