aboutsummaryrefslogtreecommitdiffstats
path: root/examples/hellooffscreen_opengl/shader_offscreen.vert
blob: 2dc9fe111f6e36a3b9fe10431749ec5342f767dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
attribute vec4 position;
attribute vec4 color;

varying vec4 vColor;

uniform mat4 projection;
uniform mat4 modelview;

void main()
{
    vColor = color;
    gl_Position = projection * modelview * position;
}