mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
Bump up the offset scale for Faceshift.
This commit is contained in:
parent
38dd176506
commit
1a767f3e08
1 changed files with 1 additions and 1 deletions
|
@ -1813,7 +1813,7 @@ void Application::update(float deltaTime) {
|
|||
|
||||
if (Menu::getInstance()->isOptionChecked(MenuOption::OffAxisProjection)) {
|
||||
if (_faceshift.isActive()) {
|
||||
const float EYE_OFFSET_SCALE = 0.005f;
|
||||
const float EYE_OFFSET_SCALE = 0.025f;
|
||||
glm::vec3 position = _faceshift.getHeadTranslation() * EYE_OFFSET_SCALE;
|
||||
_myCamera.setEyeOffsetPosition(glm::vec3(-position.x, position.y, position.z));
|
||||
updateProjectionMatrix();
|
||||
|
|
Loading…
Reference in a new issue