replaced Texture class with Material class (grouped textures)