1
0
Fork 0
fgdata/Shaders/HDR/debug_gbuffer_normal.frag

13 lines
197 B
GLSL
Raw Normal View History

#version 330 core
layout(location = 0) out vec4 fragColor;
in vec2 texcoord;
uniform sampler2D gbuffer0_tex;
void main()
{
fragColor = vec4(texture(gbuffer0_tex, texcoord).rg, 0.0, 1.0);
}