Page MenuHome

Fix issue with render_passes AOVs in viewport
ClosedPublic

Authored by Ulysse Martin (youle) on Feb 9 2021, 7:07 PM.

Details

Summary

Since https://developer.blender.org/rB85fe12071ad7f7f866b2f2e213ee291dc607b38d , when we look at current AOV pass in viewport and move the camera, there's a "flash" effect in this AOVs test file:

The cause seems to be that taa_current_sample when rendering (DRW_state_is_image_render() ) is ok because it has been incremented in EEVEE_temporal_sampling_draw but taa_current_sample is wrong when we are not rendering.

Diff Detail

Event Timeline

Ulysse Martin (youle) requested review of this revision.Feb 9 2021, 7:07 PM
Ulysse Martin (youle) created this revision.

Can confirm the issue, thx noting and fixing.

Since TAA can be tricky regarding consequences, I would like to have @Jeroen Bakker (jbakker) review this.

This revision is now accepted and ready to land.Feb 10 2021, 1:19 PM