David Gonzalez Martin be2de1d672 Render a texture
2024-11-10 08:48:46 -06:00

17 lines
249 B
GLSL

#version 450 core
layout (location = 0) out vec4 FragColor;
layout (location = 1) in VS_OUT
{
vec2 TexCoords;
} fs_in;
layout (binding = 1) uniform sampler2D t0;
void main()
{
FragColor = texture(t0, fs_in.TexCoords);
}