Browse Source

RGBShiftNode: Clean up. (#28764)

Michael Herzog 1 year ago
parent
commit
15bb480ee9
1 changed files with 0 additions and 7 deletions
  1. 0 7
      src/nodes/display/RGBShiftNode.js

+ 0 - 7
src/nodes/display/RGBShiftNode.js

@@ -1,7 +1,6 @@
 import TempNode from '../core/TempNode.js';
 import { nodeObject, addNodeElement, tslFn, vec2, vec4 } from '../shadernode/ShaderNode.js';
 import { uniform } from '../core/UniformNode.js';
-import { NodeUpdateType } from '../core/constants.js';
 import { uv } from '../accessors/UVNode.js';
 import { sin, cos } from '../math/MathNode.js';
 
@@ -15,12 +14,6 @@ class RGBShiftNode extends TempNode {
 		this.amount = uniform( amount );
 		this.angle = uniform( angle );
 
-		this.updateBeforeType = NodeUpdateType.RENDER;
-
-	}
-
-	updateBefore() {
-
 	}
 
 	setup() {