Pārlūkot izejas kodu

Default jitter to true

Marco Fugaro 1 mēnesi atpakaļ
vecāks
revīzija
0188be04bc

+ 2 - 2
examples/jsm/tsl/display/GTAONode.js

@@ -196,9 +196,9 @@ class GTAONode extends TempNode {
 		 * average. When `false` the pattern is static.
 		 *
 		 * @type {boolean}
-		 * @default false
+		 * @default true
 		 */
-		this.jitter = false;
+		this.jitter = true;
 
 		/**
 		 * Whether to temporally accumulate the AO: each frame is blended with the

+ 0 - 1
examples/webgpu_postprocessing_ao.html

@@ -139,7 +139,6 @@
 
 				aoPass = ao( prePassDepth, prePassNormal, camera, prePassVelocity ).toInspector( 'GTAO', ( inspectNode ) => inspectNode.r );
 				aoPass.resolutionScale = 0.5; // running AO in half resolution is often sufficient
-				aoPass.jitter = true;
 				aoPass.temporalAccumulation = true; // accumulate AO over frames to remove half-res blue-noise
 
 				const aoPassOutput = aoPass.getTextureNode();

粤ICP备19079148号