gzdoom-gles/wadsrc/static/shaders/glsl/ssaocombine.fp

12 lines
216 B
Text
Raw Normal View History

2016-09-02 03:45:00 +00:00
in vec2 TexCoord;
out vec4 FragColor;
uniform sampler2D AODepthTexture;
void main()
{
float attenutation = texture(AODepthTexture, TexCoord).x;
FragColor = vec4(attenutation, attenutation, attenutation, 0.0);
}