Browse Source

ShaderNode: Fix cacheMaps.int -> cacheMaps.ints (#27911)

susiwen8 1 year ago
parent
commit
93be1831f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/jsm/nodes/shadernode/ShaderNode.js

+ 1 - 1
examples/jsm/nodes/shadernode/ShaderNode.js

@@ -555,7 +555,7 @@ addNodeElement( 'append', append );
 export const color = new ConvertType( 'color' );
 
 export const float = new ConvertType( 'float', cacheMaps.float );
-export const int = new ConvertType( 'int', cacheMaps.int );
+export const int = new ConvertType( 'int', cacheMaps.ints );
 export const uint = new ConvertType( 'uint', cacheMaps.uint );
 export const bool = new ConvertType( 'bool', cacheMaps.bool );