We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Fn()
1 parent 95a994c commit dc9f057Copy full SHA for dc9f057
src/nodes/tsl/TSLCore.js
@@ -305,7 +305,7 @@ class ShaderCallNodeInternal extends Node {
305
} else {
306
307
const jsFunc = shaderNode.jsFunc;
308
- const outputNode = inputNodes !== null ? jsFunc( inputNodes, builder ) : jsFunc( builder );
+ const outputNode = inputNodes !== null || jsFunc.length > 1 ? jsFunc( inputNodes || [], builder ) : jsFunc( builder );
309
310
result = nodeObject( outputNode );
311
0 commit comments