Browse Source

corrected scale factor, must include center.

Ben Houston 9 years ago
parent
commit
c7dbb5da7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/postprocessing/MSAAPass.js

+ 1 - 1
examples/js/postprocessing/MSAAPass.js

@@ -115,7 +115,7 @@ THREE.MSAAPass.normalizedJitterOffsets = function( jitterVectors ) {
 
   for( var i = 0; i < jitterVectors.length; i ++ ) {
 
-    scaledJitterOffsets.push( new THREE.Vector2( jitterVectors[i][0], jitterVectors[i][1] ).multiplyScalar( 1.0 / 16.0 ) );
+    scaledJitterOffsets.push( new THREE.Vector2( jitterVectors[i][0], jitterVectors[i][1] ).multiplyScalar( 1.0 / 17.0 ) );
 
   }