Fix T74431: EEVEE AO Render Pass
Missing code-path in recent refactoring.
This commit is contained in:
@@ -64,7 +64,7 @@ void main()
|
|||||||
}
|
}
|
||||||
else if (postProcessType == PASS_POST_AO) {
|
else if (postProcessType == PASS_POST_AO) {
|
||||||
float ao_accum = texelFetch(inputBuffer, texel, 0).r;
|
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) {
|
else if (postProcessType == PASS_POST_NORMAL) {
|
||||||
float depth = texelFetch(depthBuffer, texel, 0).r;
|
float depth = texelFetch(depthBuffer, texel, 0).r;
|
||||||
|
Reference in New Issue
Block a user