2020-10-18 22:03:42 +02:00
|
|
|
#version 330
|
|
|
|
|
|
|
|
in vec4 inCoord;
|
|
|
|
in vec3 inNormal;
|
|
|
|
in vec2 inUV;
|
|
|
|
in vec4 inColor;
|
|
|
|
|
|
|
|
uniform mat4 uModelMatrix;
|
|
|
|
uniform mat4 uViewMatrix;
|
|
|
|
uniform mat4 uProjectionMatrix;
|
|
|
|
|
|
|
|
smooth out vec4 ioFragColor;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
ioFragColor = inColor;
|
|
|
|
gl_Position = (uProjectionMatrix * uViewMatrix * uModelMatrix * inCoord);
|
2020-10-19 22:16:42 +02:00
|
|
|
}
|