Fix T74431: EEVEE AO Render Pass
Missing code-path in recent refactoring.
This commit is contained in:
parent
a0ea0153c2
commit
e5f98c79b0
Notes:
blender-bot
2023-02-14 05:59:31 +01:00
Referenced by issue #74431, Eevee Ambient Occlusion Pass not working Referenced by issue #74274, Blender 2.82a proposed revisions
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue