PlanetEditor/grk/cw 6/shaders/shader_FBO.vert

12 lines
220 B
GLSL
Raw Normal View History

2024-01-22 12:38:19 +01:00
#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;
}