Preserving attribute values on simplified meshes by re-sampling detail textures