rbdlsim/data/shaders/default_vert.glsl

19 lines
318 B
Plaintext
Raw Normal View History

#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
}