blob: 358da944ba547e094af31c39fe91349fdb86d285 [file] [log] [blame]
#version 100
uniform mat3 uViewM;
uniform vec4 urtAdjustment;
attribute vec2 inPosition;
attribute vec4 inColor;
attribute vec2 inEllipseOffset;
attribute vec4 inEllipseRadii;
varying vec4 vColor;
varying vec2 vEllipseOffsets_Stage0;
varying vec4 vEllipseRadii_Stage0;
void main()
{
vec3 pos3 = uViewM * vec3(inPosition, 1);
vColor = inColor;
{
// Stage 0: EllipseEdge
vEllipseOffsets_Stage0 = inEllipseOffset;
vEllipseRadii_Stage0 = inEllipseRadii;
}
{
// Stage 1: Ellipse
}
{
// Stage 2: Ellipse
}
gl_Position = vec4(dot(pos3.xz, urtAdjustment.xy), dot(pos3.yz, urtAdjustment.zw), 0, pos3.z);
}