Răsfoiți Sursa

TSL: Fix `texture()` matrix sync (#30893)

sunag 9 luni în urmă
părinte
comite
7cbe312421
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/nodes/accessors/TextureNode.js

+ 1 - 1
src/nodes/accessors/TextureNode.js

@@ -266,7 +266,7 @@ class TextureNode extends UniformNode {
 	setUpdateMatrix( value ) {
 
 		this.updateMatrix = value;
-		this.updateType = value ? NodeUpdateType.RENDER : NodeUpdateType.NONE;
+		this.updateType = value ? NodeUpdateType.OBJECT : NodeUpdateType.NONE;
 
 		return this;
 

粤ICP备19079148号