protot/data/shaders/vs_simple.glsl

11 lines
189 B
Plaintext
Raw Normal View History

2018-02-13 12:05:07 +01:00
#version 150 core
#extension GL_ARB_explicit_uniform_location : require
2018-02-16 21:22:34 +01:00
in vec3 inVertex;
uniform mat4 uModelViewProj;
2018-02-13 12:05:07 +01:00
void main() {
2018-02-16 21:22:34 +01:00
gl_Position = uModelViewProj * vec4(inVertex, 1);
2018-02-13 12:05:07 +01:00
}