12 lines
222 B
GLSL
12 lines
222 B
GLSL
#version 330 core
|
|
|
|
layout(location = 0) in vec3 position;
|
|
layout(location = 1) in vec2 texCoord;
|
|
|
|
out vec2 v_texCoord;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(position, 1);
|
|
v_texCoord = vec2(texCoord.x, 1.0 - texCoord.y);
|
|
}
|