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