Files
loop/shader/texture/simpleWorld.vert
T
2021-06-11 19:41:39 +02:00

13 lines
210 B
GLSL

#version 430 core
layout (location = 0) in vec3 pos;
layout (location = 1) in vec2 texPos;
out vec2 vTexPos;
uniform mat4 worldMat;
void main()
{
gl_Position = worldMat * vec4(pos,1);
vTexPos = texPos;
}