removing lots of texture references