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

12 lines
197 B
GLSL

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