Fix T74431: EEVEE AO Render Pass

Missing code-path in recent refactoring.
This commit is contained in:
2020-03-05 08:58:00 +01:00
committed by Nathan Letwory
parent caff955e78
commit 06871ed4ff

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) {