Page MenuHome

Workbench: Improve AntiAliasing sampling
ClosedPublic

Authored by Clément Foucault (fclem) on Feb 14 2021, 1:26 AM.

Details

Summary

This improves stability and convergence speed of Workbench Temporal AntiAliasing.

This adds a filtering kernel (blackmann-haris, same as EEVEE/Cycles) to the
temporal antialiasing sampling. We also gather neighbor pixels since they might
end up in the pixel footprint.

We use a 1px radius for the filter window which is a bit less than the 1.5 default
of cycles and EEVEE since it does blur quite a bit more than what we have now.

Another improvement is that the filtering is now in log space which improves
AntiAliasing around highlights.

Theses improvement may not be very useful for every day case but it was an
experiment to try to make TAA usable for GPencil.

Test file used :

filtered+logspacefilteredoriginal

Diff Detail

Repository
rB Blender

Event Timeline

Clément Foucault (fclem) requested review of this revision.Feb 14 2021, 1:26 AM
Clément Foucault (fclem) created this revision.
Jeroen Bakker (jbakker) added inline comments.
source/blender/draw/engines/workbench/workbench_effect_antialiasing.c
488

remove debug line.

This revision is now accepted and ready to land.Feb 16 2021, 8:56 AM
  • Removed debug line
This revision was automatically updated to reflect the committed changes.