mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-21 22:49:09 +02:00
alpha
This commit is contained in:
parent
f02e8dae23
commit
ab3b0c8aa3
1 changed files with 2 additions and 2 deletions
|
@ -1130,7 +1130,7 @@ 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
|
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, 1.f);
|
_head.render(lookingInMirror, _cameraPosition, alpha);
|
||||||
}
|
}
|
||||||
} 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