Blender Git Loki

Git Commits -> Revision 335930a

Revision 335930a by Clément Foucault (master)
January 20, 2020, 18:36 (GMT)
Overlay: Improve Outline diagonal Antialiasing

I doubt we can do much better. Most of the aliasing comes from the edge
detection which does not use a lot of samples. We could use more samples
but then the detection becomes way more complex and expensive.

The second issue comes from the reconstruction (AA pass) that only bleed
adjacent pixels in if their line direction is perpendicular to the offset.
This makes corner gaps on certain diagonals.

Commit Details:

Full Hash: 335930ab4efffdf0da751cbb90598353cebffb3b
Parent Commit: 31e2786
Lines Changed: +74, -39

2 Modified Paths:

/source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl (+2, -0) (Diff)
/source/blender/draw/engines/overlay/shaders/outline_detect_frag.glsl (+72, -39) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021