Saxum/data/shader/debug.vsh
2015-03-13 15:30:21 +01:00

14 lines
204 B
GLSL

#version 150
uniform mat4 viewProjectionMatrix;
in vec3 aPosition;
in vec3 aColor;
out vec3 vColor;
void main() {
vColor = aColor;
gl_Position = viewProjectionMatrix * vec4(aPosition, 1.0);
}