瀏覽代碼

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

sunag 1 年之前
父節點
當前提交
7cbe312421
共有 1 個文件被更改,包括 1 次插入1 次删除
  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号