Răsfoiți Sursa

PostProcessing: Harmonize node update type. (#29564)

Michael Herzog 1 an în urmă
părinte
comite
dbde1d175b

+ 1 - 1
examples/jsm/tsl/display/AfterImageNode.js

@@ -29,7 +29,7 @@ class AfterImageNode extends TempNode {
 
 		this._textureNode = passTexture( this, this._compRT.texture );
 
-		this.updateBeforeType = NodeUpdateType.RENDER;
+		this.updateBeforeType = NodeUpdateType.FRAME;
 
 	}
 

+ 1 - 1
examples/jsm/tsl/display/AnamorphicNode.js

@@ -29,7 +29,7 @@ class AnamorphicNode extends TempNode {
 
 		this._textureNode = passTexture( this, this._renderTarget.texture );
 
-		this.updateBeforeType = NodeUpdateType.RENDER;
+		this.updateBeforeType = NodeUpdateType.FRAME;
 
 	}
 

+ 1 - 1
examples/jsm/tsl/display/DenoiseNode.js

@@ -28,7 +28,7 @@ class DenoiseNode extends TempNode {
 		this._resolution = uniform( new Vector2() );
 		this._sampleVectors = uniformArray( generatePdSamplePointInitializer( 16, 2, 1 ) );
 
-		this.updateBeforeType = NodeUpdateType.RENDER;
+		this.updateBeforeType = NodeUpdateType.FRAME;
 
 	}
 

+ 1 - 1
examples/jsm/tsl/display/DepthOfFieldNode.js

@@ -21,7 +21,7 @@ class DepthOfFieldNode extends TempNode {
 
 		this._aspect = uniform( 0 );
 
-		this.updateBeforeType = NodeUpdateType.RENDER;
+		this.updateBeforeType = NodeUpdateType.FRAME;
 
 	}
 

+ 1 - 1
examples/jsm/tsl/display/FXAANode.js

@@ -15,7 +15,7 @@ class FXAANode extends TempNode {
 
 		this.textureNode = textureNode;
 
-		this.updateBeforeType = NodeUpdateType.RENDER;
+		this.updateBeforeType = NodeUpdateType.FRAME;
 
 		this._invSize = uniform( new Vector2() );
 

+ 1 - 1
examples/jsm/tsl/display/GaussianBlurNode.js

@@ -33,7 +33,7 @@ class GaussianBlurNode extends TempNode {
 
 		this._textureNode = passTexture( this, this._verticalRT.texture );
 
-		this.updateBeforeType = NodeUpdateType.RENDER;
+		this.updateBeforeType = NodeUpdateType.FRAME;
 
 		this.resolution = new Vector2( 1, 1 );
 

+ 1 - 1
examples/jsm/tsl/display/PixelationPassNode.js

@@ -29,7 +29,7 @@ class PixelationNode extends TempNode {
 
 		this._resolution = uniform( new Vector4() );
 
-		this.updateBeforeType = NodeUpdateType.RENDER;
+		this.updateBeforeType = NodeUpdateType.FRAME;
 
 	}
 

+ 1 - 1
examples/jsm/tsl/display/SMAANode.js

@@ -25,7 +25,7 @@ class SMAANode extends TempNode {
 
 		this.textureNode = textureNode;
 
-		this.updateBeforeType = NodeUpdateType.RENDER;
+		this.updateBeforeType = NodeUpdateType.FRAME;
 
 		// render targets
 

+ 1 - 1
examples/jsm/tsl/display/SobelOperatorNode.js

@@ -15,7 +15,7 @@ class SobelOperatorNode extends TempNode {
 
 		this.textureNode = textureNode;
 
-		this.updateBeforeType = NodeUpdateType.RENDER;
+		this.updateBeforeType = NodeUpdateType.FRAME;
 
 		this._invSize = uniform( new Vector2() );
 

粤ICP备19079148号