Explorar o código

corrected scale factor, must include center.

Ben Houston %!s(int64=10) %!d(string=hai) anos
pai
achega
c7dbb5da7e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 ) );
 
   }
 

粤ICP备19079148号