Pong/resources/shaders/FBO.frag

12 lines
240 B
GLSL
Raw Normal View History

2024-07-01 19:55:24 -07:00
#version 450
#extension GL_ARB_separate_shader_objects : enable
layout(location = 0) in vec2 vUv;
layout(location = 0) out vec4 outColor;
layout(binding = 1) uniform sampler2D render;
void main() {
outColor = texture(render, vUv);
}