Fix T74431: EEVEE AO Render Pass

Missing code-path in recent refactoring.
This commit is contained in:
Jeroen Bakker 2020-03-05 08:58:00 +01:00 committed by Nathan Letwory
parent caff955e78
commit 06871ed4ff
No known key found for this signature in database
GPG Key ID: 2C99F9D5FC4EFA4C
Notes: blender-bot 2023-02-14 03:34:17 +01:00
Referenced by issue #74431, Eevee Ambient Occlusion Pass not working
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ void main()
else if (renderpassType == SCE_PASS_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 (renderpassType == SCE_PASS_NORMAL) {