diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-02-19 03:44:52 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-02-19 03:57:06 +0300 |
commit | e82827bf6ed54a1d1552ac9176df9e309b4d29e2 (patch) | |
tree | 10b10084cc42f21d77ed7aca8cf0f424bc37c58f /source/blender/draw/intern/draw_cache_extract.h | |
parent | 77619f527403608a349b3037d18f71893d4484d1 (diff) |
DRW: New High Quality Normal & Tangent extract
This patch adds a dedicated path to extract 16bit normals instead of packing them into 10bits/comp.
The tangents are also packed to 10bits/comp if not using the new High Quality Normal option.
Fix T61024 Degraded texture shading on dense meshes
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D6614
Diffstat (limited to 'source/blender/draw/intern/draw_cache_extract.h')
-rw-r--r-- | source/blender/draw/intern/draw_cache_extract.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_cache_extract.h b/source/blender/draw/intern/draw_cache_extract.h index 9228147af44..6226b5dcf7f 100644 --- a/source/blender/draw/intern/draw_cache_extract.h +++ b/source/blender/draw/intern/draw_cache_extract.h @@ -253,6 +253,7 @@ void mesh_buffer_cache_create_requested(MeshBatchCache *cache, const bool do_uvedit, const bool use_subsurf_fdots, const DRW_MeshCDMask *cd_layer_used, + const Scene *scene, const ToolSettings *ts, const bool use_hide); |