Saxum/data/shader/debug.vsh

14 lines
204 B
V Shell
Raw Normal View History

2015-03-13 14:30:21 +00:00
#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);
}