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
parent a0ea0153c2
commit e5f98c79b0

View File

@@ -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;