Blender Git Loki

Git Commits -> Revision 85fe120

Revision 85fe120 by Philipp Oeser (master)
February 3, 2021, 14:50 (GMT)
Fix T85261: Eevee passes have slight inaccurate colors

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.

Maniphest Tasks: T85261

Differential Revision: https://developer.blender.org/D10286

Commit Details:

Full Hash: 85fe12071ad7f7f866b2f2e213ee291dc607b38d
Parent Commit: 487fe5a
Lines Changed: +3, -1

1 Modified Path:

/source/blender/draw/engines/eevee/eevee_renderpasses.c (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021