Page MenuHome

Fix T85261: Eevee passes have slight inaccurate colors
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Feb 2 2021, 5:32 PM.

Details

Summary

In everything in EEVEE_renderpasses_postprocess (or the corresponding
renderpass_postprocess_frag.glsl) colors get divided by a
'currentSample'.

This 'currentSample' is always incremented in
EEVEE_temporal_sampling_draw (and also one more time before we reach
EEVEE_renderpasses_postprocess.
This results in a "off-by-one", slightly inacurate colors and slight
inaccurate transparency (in certain passes like AOVs).

Now decrement the currentSample EEVEE_renderpasses_postprocess again
by one to compensate.

Diff Detail

Repository
rB Blender
Branch
T85261 (branched from master)
Build Status
Buildable 12553
Build 12553: arc lint + arc unit