12 lines
220 B
GLSL
12 lines
220 B
GLSL
#version 430 core
|
|
|
|
layout (location = 0) in vec2 inPos;
|
|
layout (location = 1) in vec2 inTexCoords;
|
|
|
|
out vec2 texCoords;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(inPos.x, inPos.y, 0.0, 1.0);
|
|
texCoords = inTexCoords;
|
|
} |