1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
[require] GLSL >= 1.10 [fragment shader] #version 130 uniform ivec4 color; out ivec4 out_color; void main() { out_color = color; } [vertex shader] #version 130 in vec4 position; void main() { gl_Position = position; }