Changed detailCoord to be a vec2 and not a vec3.