Some general changes for textures and meshes