voxel-engine/shaders/shader-quad.vs

13 lines
194 B
Plaintext
Raw Permalink Normal View History

#version 330 core
layout (location = 0) in vec3 aPos;
layout (location = 1) in vec2 aTexCoord;
out vec2 TexCoord;
void main()
{
TexCoord = aTexCoord;
gl_Position = vec4(aPos, 1.0);
}