Latest code for texture differentials