2018-03-11 22:05:42 +01:00
|
|
|
#version 150 core
|
|
|
|
|
|
|
|
in vec4 inCoord;
|
2018-03-15 11:54:00 +01:00
|
|
|
in vec3 inNormal;
|
|
|
|
in vec2 inUV;
|
2018-03-11 22:05:42 +01:00
|
|
|
in vec4 inColor;
|
|
|
|
|
|
|
|
uniform mat4 uModelMatrix;
|
2018-07-06 21:29:49 +02:00
|
|
|
uniform mat4 uViewProjectionMatrix;
|
2018-03-11 22:05:42 +01:00
|
|
|
|
2018-03-15 11:54:00 +01:00
|
|
|
out vec4 ioFragColor;
|
2018-03-11 22:05:42 +01:00
|
|
|
|
|
|
|
void main() {
|
2018-07-06 21:29:49 +02:00
|
|
|
gl_Position = uViewProjectionMatrix * uModelMatrix * inCoord;
|
2018-03-11 22:05:42 +01:00
|
|
|
ioFragColor = inColor;
|
|
|
|
}
|