mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 10:43:45 +02:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
39805db040
1 changed files with 2 additions and 2 deletions
|
@ -1128,9 +1128,9 @@ void Avatar::renderBody(bool lookingInMirror) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Always render other people, and render myself when beyond threshold distance
|
// Always render other people, and render myself when beyond threshold distance
|
||||||
if (b == AVATAR_JOINT_HEAD_BASE) { // the head is rendered as a special case
|
if (b == AVATAR_JOINT_HEAD_BASE) { // the head is rendered as a special
|
||||||
if (lookingInMirror || _owningAgent || distanceToCamera > RENDER_OPAQUE_BEYOND * 0.5) {
|
if (lookingInMirror || _owningAgent || distanceToCamera > RENDER_OPAQUE_BEYOND * 0.5) {
|
||||||
_head.render(lookingInMirror, _cameraPosition, alpha);
|
_head.render(lookingInMirror, _cameraPosition, 1.f);
|
||||||
}
|
}
|
||||||
} else if (_owningAgent || distanceToCamera > RENDER_TRANSLUCENT_BEYOND
|
} else if (_owningAgent || distanceToCamera > RENDER_TRANSLUCENT_BEYOND
|
||||||
|| b == AVATAR_JOINT_RIGHT_ELBOW
|
|| b == AVATAR_JOINT_RIGHT_ELBOW
|
||||||
|
|
Loading…
Reference in a new issue