mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 16:36:54 +02:00
Increase the distance at which avatars glow when moving.
This commit is contained in:
parent
f85f49caa6
commit
889c1358fc
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ void Avatar::render(bool forShadowMap) {
|
||||||
{
|
{
|
||||||
// glow when moving in the distance
|
// glow when moving in the distance
|
||||||
|
|
||||||
const float GLOW_DISTANCE = 5.0f;
|
const float GLOW_DISTANCE = 10.0f;
|
||||||
Glower glower(_moving && lengthToTarget > GLOW_DISTANCE && !forShadowMap ? 1.0f : 0.0f);
|
Glower glower(_moving && lengthToTarget > GLOW_DISTANCE && !forShadowMap ? 1.0f : 0.0f);
|
||||||
|
|
||||||
// render body
|
// render body
|
||||||
|
|
Loading…
Reference in a new issue