diff options
author | Jeroen Bakker <jeroen@blender.org> | 2020-03-05 10:58:00 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-03-05 10:58:00 +0300 |
commit | e5f98c79b0ed3a103e5e82948d22df185e2c53a2 (patch) | |
tree | 4d11abdfc5d44d719f55ea5859b59987752a5d7e /source/blender | |
parent | a0ea0153c262d86dc1ca532315d17974e27cc964 (diff) |
Fix T74431: EEVEE AO Render Pass
Missing code-path in recent refactoring.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/engines/eevee/shaders/renderpass_postprocess_frag.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/renderpass_postprocess_frag.glsl b/source/blender/draw/engines/eevee/shaders/renderpass_postprocess_frag.glsl index b54974ce46a..361963d5ac3 100644 --- a/source/blender/draw/engines/eevee/shaders/renderpass_postprocess_frag.glsl +++ b/source/blender/draw/engines/eevee/shaders/renderpass_postprocess_frag.glsl @@ -64,7 +64,7 @@ void main() } else if (postProcessType == PASS_POST_AO) { float ao_accum = texelFetch(inputBuffer, texel, 0).r; - fragColor = vec4(vec3(min(1.0, ao_accum / currentSample)), 1.0); + color = vec3(min(1.0, ao_accum / currentSample)); } else if (postProcessType == PASS_POST_NORMAL) { float depth = texelFetch(depthBuffer, texel, 0).r; |