take texture as part of material