summaryrefslogtreecommitdiff
path: root/chart2/opengl/symbolVertexShader.glsl
blob: 0ab01d38728ea9171aa6fc041c0ccd6f65e33d2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#version 110

attribute vec3 vPosition;
uniform mat4 MVP;
uniform vec4 vColor;
varying vec4 fragmentColor;

void main()
{
    gl_Position =  MVP * vec4(vPosition, 1);
    fragmentColor = vColor;
    gl_PointSize = 10.0;
}