Moved in texture.rs from Hematite