Sligth changes to shader and piecereading of texture coordinates.