Blender Git Commit Log

Git Commits -> Revision 36814dd

Revision 36814dd by Jeroen Bakker (master)
February 16, 2021, 08:05 (GMT)
Workbench: Improve AntiAliasing sampling

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 :
{F9798807}

|filtered+logspace|filtered|original|
|{F9798847}|{F9798848}|{F9798849}|

Reviewed By: jbakker

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

Commit Details:

Full Hash: 36814ddc94b56a66675b854bc0d7485828ddcd31
Parent Commit: dd79a71
Lines Changed: +71, -11

4 Modified Paths:

/source/blender/draw/engines/workbench/shaders/workbench_effect_smaa_frag.glsl (+8, -2) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_effect_taa_frag.glsl (+14, -3) (Diff)
/source/blender/draw/engines/workbench/workbench_effect_antialiasing.c (+42, -4) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+7, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021