mirror of https://github.com/auygun/kaliber.git
14 lines
204 B
Plaintext
14 lines
204 B
Plaintext
|
IN(0) vec3 in_position;
|
||
|
IN(1) vec3 in_color;
|
||
|
|
||
|
UNIFORM_BEGIN
|
||
|
UNIFORM_V(mat4 mvp)
|
||
|
UNIFORM_END
|
||
|
|
||
|
OUT(0) vec3 color;
|
||
|
|
||
|
void main() {
|
||
|
color = in_color;
|
||
|
gl_Position = PARAM(mvp) * vec4(in_position, 1.0);
|
||
|
}
|