mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 19:10:49 +02:00
Bump up the rate at which we increase detail.
This commit is contained in:
parent
1bb7c6f3ed
commit
26da3bcefd
1 changed files with 1 additions and 1 deletions
|
@ -1208,7 +1208,7 @@ void Menu::autoAdjustLOD(float currentFPS) {
|
||||||
}
|
}
|
||||||
} else if (_fastFPSAverage.getAverage() > ADJUST_LOD_UP_FPS) {
|
} else if (_fastFPSAverage.getAverage() > ADJUST_LOD_UP_FPS) {
|
||||||
// let the detail level creep slowly upwards
|
// let the detail level creep slowly upwards
|
||||||
const float DISTANCE_DECREASE_RATE = 0.01f;
|
const float DISTANCE_DECREASE_RATE = 0.02f;
|
||||||
const float MINIMUM_DISTANCE_MULTIPLIER = 0.1f;
|
const float MINIMUM_DISTANCE_MULTIPLIER = 0.1f;
|
||||||
_avatarLODDistanceMultiplier = qMax(MINIMUM_DISTANCE_MULTIPLIER,
|
_avatarLODDistanceMultiplier = qMax(MINIMUM_DISTANCE_MULTIPLIER,
|
||||||
_avatarLODDistanceMultiplier - DISTANCE_DECREASE_RATE);
|
_avatarLODDistanceMultiplier - DISTANCE_DECREASE_RATE);
|
||||||
|
|
Loading…
Reference in a new issue