Saxum/data/shader/depth.vsh
2015-02-14 09:49:29 +01:00

12 lines
195 B
GLSL

#version 150
in vec3 aPosition;
in vec3 aNormal;
in vec3 aTexcoord;
uniform mat4 modelViewProjectionMatrix;
void main() {
gl_Position = modelViewProjectionMatrix * vec4(aPosition, 1.0);
}