Made preperations for texture generation