mirror of https://github.com/auygun/kaliber.git
16 lines
210 B
Plaintext
16 lines
210 B
Plaintext
|
#ifdef GL_ES
|
||
|
precision mediump float;
|
||
|
#endif
|
||
|
|
||
|
IN(0) vec3 color;
|
||
|
|
||
|
UNIFORM_BEGIN
|
||
|
UNIFORM_V(mat4 projection)
|
||
|
UNIFORM_END
|
||
|
|
||
|
FRAG_COLOR_OUT(frag_color)
|
||
|
|
||
|
void main() {
|
||
|
FRAG_COLOR(frag_color) = vec4(color, 1.0);
|
||
|
}
|