aboutsummaryrefslogtreecommitdiff
path: root/tests/gl/tutorial2.frag
blob: faa30eaf780712539014b4842fd8891c5dd95c0b (plain)
1
2
3
4
5
6
7
8
9
10
11
#version 150
// It was expressed that some drivers required this next line to function properly
precision highp float;

in  vec3 ex_Color;
out vec4 gl_FragColor;

void main(void) {
    // Pass through our original color with full opacity.
    gl_FragColor = vec4(ex_Color,1.0);
}