Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-05-16 00:47:41 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-05-17 03:58:02 +0300
commit15dd6cb66887eb83fcc3ecf44c3b42a53161e390 (patch)
tree58ce7e14d4d80091daf2bba52d7db228ce43ce46 /source/blender/editors/transform/transform_convert.c
parent1aace88d0c2449bd70fc41ae30d4118bbeca9d38 (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/editors/transform/transform_convert.c')
0 files changed, 0 insertions, 0 deletions