diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-10-12 05:03:42 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-10-12 05:03:42 +0300 |
commit | 5f025a7e5e043a2dbdebf66668217fbae591ef89 (patch) | |
tree | f59755507998ba44bafbefd14dee69cc01597a09 /source/blender/editors/include | |
parent | dc95c79971d48dae9418e0047f14c01e6dcab13c (diff) |
Object Mode: Grid: Add a non-hard depth test.
This adds a custom depth test that have the benefits to glitch less and be more visually pleasing.
Downside is that it let the grid pass trough the objects a little.
This effect is done in NDC space so that it counteract the logarithmic depth distribution imprecision (read as it's less visible near the camera but more present far away).
This patch also includes some cleanups.
Diffstat (limited to 'source/blender/editors/include')
0 files changed, 0 insertions, 0 deletions