mirror of
https://github.com/overte-org/overte.git
synced 2025-08-16 09:31:57 +02:00
Adjustment of threshold multiplier for metavoxels.
This commit is contained in:
parent
df49bf8dda
commit
f69184d8cb
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ AttributeRegistry::AttributeRegistry() :
|
|||
_heightfieldColorAttribute->setLODThresholdMultiplier(HEIGHTFIELD_LOD_THRESHOLD_MULTIPLIER);
|
||||
_heightfieldMaterialAttribute->setLODThresholdMultiplier(HEIGHTFIELD_LOD_THRESHOLD_MULTIPLIER);
|
||||
|
||||
const float VOXEL_LOD_THRESHOLD_MULTIPLIER = 32.0f;
|
||||
const float VOXEL_LOD_THRESHOLD_MULTIPLIER = 16.0f;
|
||||
_voxelColorAttribute->setLODThresholdMultiplier(VOXEL_LOD_THRESHOLD_MULTIPLIER);
|
||||
_voxelColorAttribute->setUserFacing(true);
|
||||
_voxelMaterialAttribute->setLODThresholdMultiplier(VOXEL_LOD_THRESHOLD_MULTIPLIER);
|
||||
|
|
Loading…
Reference in a new issue