Fix T74431: EEVEE AO Render Pass
Missing code-path in recent refactoring.
This commit is contained in:
parent
caff955e78
commit
06871ed4ff
Notes:
blender-bot
2023-02-14 03:34:17 +01:00
Referenced by issue #74431, Eevee Ambient Occlusion Pass not working
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue