Răsfoiți Sursa

Updated builds.

sunag 1 an în urmă
părinte
comite
4c7aac71c5

+ 14 - 0
build/three.webgpu.js

@@ -45430,6 +45430,7 @@ class NodeMaterial extends Material {
 		this.alphaTestNode = null;
 		this.alphaTestNode = null;
 
 
 		this.positionNode = null;
 		this.positionNode = null;
+		this.geometryNode = null;
 
 
 		this.depthNode = null;
 		this.depthNode = null;
 		this.shadowNode = null;
 		this.shadowNode = null;
@@ -45471,6 +45472,12 @@ class NodeMaterial extends Material {
 
 
 		builder.stack.outputNode = this.vertexNode || this.setupPosition( builder );
 		builder.stack.outputNode = this.vertexNode || this.setupPosition( builder );
 
 
+		if ( this.geometryNode !== null ) {
+
+			builder.stack.outputNode = builder.stack.outputNode.bypass( this.geometryNode );
+
+		}
+
 		builder.addFlow( 'vertex', builder.removeStack() );
 		builder.addFlow( 'vertex', builder.removeStack() );
 
 
 		// < FRAGMENT STAGE >
 		// < FRAGMENT STAGE >
@@ -46007,6 +46014,7 @@ class NodeMaterial extends Material {
 		this.alphaTestNode = source.alphaTestNode;
 		this.alphaTestNode = source.alphaTestNode;
 
 
 		this.positionNode = source.positionNode;
 		this.positionNode = source.positionNode;
+		this.geometryNode = source.geometryNode;
 
 
 		this.depthNode = source.depthNode;
 		this.depthNode = source.depthNode;
 		this.shadowNode = source.shadowNode;
 		this.shadowNode = source.shadowNode;
@@ -69892,6 +69900,12 @@ class WebGLBackend extends Backend {
 
 
 		this.prepareTimestampBuffer( computeGroup );
 		this.prepareTimestampBuffer( computeGroup );
 
 
+		if ( this._currentContext ) {
+
+			this._setFramebuffer( this._currentContext );
+
+		}
+
 	}
 	}
 
 
 	draw( renderObject/*, info*/ ) {
 	draw( renderObject/*, info*/ ) {

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
build/three.webgpu.min.js


+ 14 - 0
build/three.webgpu.nodes.js

@@ -45430,6 +45430,7 @@ class NodeMaterial extends Material {
 		this.alphaTestNode = null;
 		this.alphaTestNode = null;
 
 
 		this.positionNode = null;
 		this.positionNode = null;
+		this.geometryNode = null;
 
 
 		this.depthNode = null;
 		this.depthNode = null;
 		this.shadowNode = null;
 		this.shadowNode = null;
@@ -45471,6 +45472,12 @@ class NodeMaterial extends Material {
 
 
 		builder.stack.outputNode = this.vertexNode || this.setupPosition( builder );
 		builder.stack.outputNode = this.vertexNode || this.setupPosition( builder );
 
 
+		if ( this.geometryNode !== null ) {
+
+			builder.stack.outputNode = builder.stack.outputNode.bypass( this.geometryNode );
+
+		}
+
 		builder.addFlow( 'vertex', builder.removeStack() );
 		builder.addFlow( 'vertex', builder.removeStack() );
 
 
 		// < FRAGMENT STAGE >
 		// < FRAGMENT STAGE >
@@ -46007,6 +46014,7 @@ class NodeMaterial extends Material {
 		this.alphaTestNode = source.alphaTestNode;
 		this.alphaTestNode = source.alphaTestNode;
 
 
 		this.positionNode = source.positionNode;
 		this.positionNode = source.positionNode;
+		this.geometryNode = source.geometryNode;
 
 
 		this.depthNode = source.depthNode;
 		this.depthNode = source.depthNode;
 		this.shadowNode = source.shadowNode;
 		this.shadowNode = source.shadowNode;
@@ -69892,6 +69900,12 @@ class WebGLBackend extends Backend {
 
 
 		this.prepareTimestampBuffer( computeGroup );
 		this.prepareTimestampBuffer( computeGroup );
 
 
+		if ( this._currentContext ) {
+
+			this._setFramebuffer( this._currentContext );
+
+		}
+
 	}
 	}
 
 
 	draw( renderObject/*, info*/ ) {
 	draw( renderObject/*, info*/ ) {

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
build/three.webgpu.nodes.min.js


Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff

粤ICP备19079148号