diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-05-16 00:47:41 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-05-17 03:58:02 +0300 |
commit | 15dd6cb66887eb83fcc3ecf44c3b42a53161e390 (patch) | |
tree | 58ce7e14d4d80091daf2bba52d7db228ce43ce46 /source/blender/blendthumb | |
parent | 1aace88d0c2449bd70fc41ae30d4118bbeca9d38 (diff) |
UI: Widget: Replace geometry by fragment shader drawing
This means all the antiailasing is done inside the fragment shader.
We use a Signed Distance Field to draw the 2D rounded boxes. This ensure
the best quality for AA.
This reduce the averge Batch for widget to 16 verts instead of ~600 and
reduce overshading a lot.
Theme Emboss alpha and tria alpha needs to be changed after this refactor.
Diffstat (limited to 'source/blender/blendthumb')
0 files changed, 0 insertions, 0 deletions