Explorar el Código

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

sunag hace 1 año
padre
commit
7cbe312421
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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号