moving addTexCoords to setup in D4