File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class TextureNode extends UniformNode {
3232 this . referenceNode = null ;
3333
3434 this . _value = value ;
35- this . _matrixValue = null ;
35+ this . _matrixUniform = null ;
3636
3737 this . setUpdateMatrix ( uvNode === null ) ;
3838
@@ -102,9 +102,9 @@ class TextureNode extends UniformNode {
102102
103103 getTransformedUV ( uvNode ) {
104104
105- if ( this . _matrixValue === null ) this . _matrixValue = uniform ( this . value . matrix ) ;
105+ if ( this . _matrixUniform === null ) this . _matrixUniform = uniform ( this . value . matrix ) ;
106106
107- return this . _matrixValue . mul ( vec3 ( uvNode , 1 ) ) . xy ;
107+ return this . _matrixUniform . mul ( vec3 ( uvNode , 1 ) ) . xy ;
108108
109109
110110 }
@@ -401,9 +401,9 @@ class TextureNode extends UniformNode {
401401 update ( ) {
402402
403403 const texture = this . value ;
404- const matrixTexture = this . _matrixValue ;
404+ const matrixUniform = this . _matrixUniform ;
405405
406- if ( matrixTexture !== null ) matrixTexture . value = texture . matrix ;
406+ if ( matrixUniform !== null ) matrixUniform . value = texture . matrix ;
407407
408408 if ( texture . matrixAutoUpdate === true ) {
409409
You can’t perform that action at this time.
0 commit comments