|
@@ -6,6 +6,8 @@ THREE.NodePass = function() {
|
|
|
|
|
|
THREE.ShaderPass.call( this );
|
|
|
|
|
|
+ this.textureID = 'renderTexture';
|
|
|
+
|
|
|
this.fragment = new THREE.RawNode( new THREE.ScreenNode() );
|
|
|
|
|
|
this.node = new THREE.NodeMaterial();
|
|
@@ -13,8 +15,6 @@ THREE.NodePass = function() {
|
|
|
|
|
|
this.build();
|
|
|
|
|
|
- this.textureID = 'renderTexture';
|
|
|
-
|
|
|
};
|
|
|
|
|
|
THREE.NodePass.prototype = Object.create( THREE.ShaderPass.prototype );
|