procedural-3d-engine/shaders/glsl/conservativeraster/fullscreen.frag

11 lines
212 B
GLSL
Raw Normal View History

#version 450
2022-07-30 09:27:50 +02:00
layout (binding = 0) uniform sampler2D samplerColor;
layout (location = 0) in vec2 inUV;
layout (location = 0) out vec4 outFragColor;
void main()
{
outFragColor = texture(samplerColor, inUV);
}