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

18 lines
388 B
GLSL
Raw Normal View History

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