mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 19:10:01 +02:00
Eyes were reversed.
This commit is contained in:
parent
8076f571fd
commit
c4e643e3a4
1 changed files with 2 additions and 2 deletions
|
@ -152,8 +152,8 @@ void Visage::update() {
|
|||
_blendshapeCoefficients[index] = _data->actionUnits[i];
|
||||
}
|
||||
}
|
||||
_blendshapeCoefficients[leftEyeBlinkIndex] = 1.0f - _data->eyeClosure[0];
|
||||
_blendshapeCoefficients[rightEyeBlinkIndex] = 1.0f - _data->eyeClosure[1];
|
||||
_blendshapeCoefficients[leftEyeBlinkIndex] = 1.0f - _data->eyeClosure[1];
|
||||
_blendshapeCoefficients[rightEyeBlinkIndex] = 1.0f - _data->eyeClosure[0];
|
||||
_blendshapeCoefficients[centerBrowIndex] = (_data->actionUnits[_leftInnerBrowIndex] +
|
||||
_data->actionUnits[_rightInnerBrowIndex]) * 0.5f;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue