mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 08:31:23 +00:00
11 lines
216 B
GLSL
11 lines
216 B
GLSL
|
|
in vec2 TexCoord;
|
|
out vec4 FragColor;
|
|
|
|
uniform sampler2D AODepthTexture;
|
|
|
|
void main()
|
|
{
|
|
float attenutation = texture(AODepthTexture, TexCoord).x;
|
|
FragColor = vec4(attenutation, attenutation, attenutation, 0.0);
|
|
}
|