blob: ea232857dd88c321e4f7d7b825315f14c948db6d [file] [log] [blame]
#version 100
uniform mat3 uViewM;
uniform vec4 urtAdjustment;
attribute vec2 inPosition;
attribute vec4 inColor;
attribute vec4 inQuadEdge;
varying vec4 vColor;
varying vec4 vQuadEdge_Stage0;
void main() {
vec3 pos3 = uViewM * vec3(inPosition, 1);
vColor = inColor;
{
// Stage 0: QuadEdge
vQuadEdge_Stage0 = inQuadEdge;
}
gl_Position = vec4(dot(pos3.xz, urtAdjustment.xy),
dot(pos3.yz, urtAdjustment.zw), 0, pos3.z);
}