Don't write to transformedvertex.color1[4], it doesn't exist.