raylib/examples/resources/shaders/base.vs
2016-01-13 17:13:28 +01:00

18 lines
286 B
GLSL

#version 330
in vec3 vertexPosition;
in vec2 vertexTexCoord;
in vec3 vertexNormal;
out vec2 fragTexCoord;
uniform mat4 mvpMatrix;
// NOTE: Add here your custom variables
void main()
{
fragTexCoord = vertexTexCoord;
gl_Position = mvpMatrix*vec4(vertexPosition, 1.0);
}