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
This commit is contained in:
@@ -1341,6 +1341,7 @@ void DRW_mesh_batch_cache_create_requested(
|
||||
true,
|
||||
false,
|
||||
&cache->cd_used,
|
||||
scene,
|
||||
ts,
|
||||
true);
|
||||
}
|
||||
@@ -1355,6 +1356,7 @@ void DRW_mesh_batch_cache_create_requested(
|
||||
false,
|
||||
use_subsurf_fdots,
|
||||
&cache->cd_used,
|
||||
scene,
|
||||
ts,
|
||||
true);
|
||||
}
|
||||
@@ -1368,6 +1370,7 @@ void DRW_mesh_batch_cache_create_requested(
|
||||
false,
|
||||
use_subsurf_fdots,
|
||||
&cache->cd_used,
|
||||
scene,
|
||||
ts,
|
||||
use_hide);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user