SangeFault/assets/minecraft/shaders/core/position_tex.vsh

16 lines
219 B
V Shell
Raw Normal View History

#version 150
in vec3 Position;
in vec2 UV0;
uniform mat4 ModelViewMat;
uniform mat4 ProjMat;
out vec2 texCoord0;
void main() {
gl_Position = ProjMat * ModelViewMat * vec4(Position, 1.0);
texCoord0 = UV0;
}