Browse Source

fix tp flicker

Trevor Baron 7 years ago
parent
commit
64b6270bea
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Cameras/VR/babylon.vrExperienceHelper.ts

+ 2 - 2
src/Cameras/VR/babylon.vrExperienceHelper.ts

@@ -1113,8 +1113,8 @@ module BABYLON {
             animationPP2.setKeys(vignetteStretchKeys);
             animationPP2.setKeys(vignetteStretchKeys);
             this._postProcessMove.animations.push(animationPP2);
             this._postProcessMove.animations.push(animationPP2);
 
 
-            this._postProcessMove.imageProcessingConfiguration.vignetteWeight = 8;
-            this._postProcessMove.imageProcessingConfiguration.vignetteStretch = 10;
+            this._postProcessMove.imageProcessingConfiguration.vignetteWeight = 0;
+            this._postProcessMove.imageProcessingConfiguration.vignetteStretch = 0;
 
 
             this._webVRCamera.attachPostProcess(this._postProcessMove)
             this._webVRCamera.attachPostProcess(this._postProcessMove)
             this._scene.beginAnimation(this._postProcessMove, 0, 11, false, 1, () => {
             this._scene.beginAnimation(this._postProcessMove, 0, 11, false, 1, () => {