Skip to content

Map passed as first argument of a Fn ( [ map ] ) breaks #31172

@Samsy

Description

@Samsy

Description

Passing a map in a Fn, as first argument breaks the TSL compilation

But,

Passed as second, third etc... is working

Live example

Move the SWITCH value to 0 and to 1

0 => working ( Fn( [ uv, map ] )

1 => not working ( Fn[ map, uv ] )

The only change is the order of the args passed in the Fn

Live example fiddle

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugTSLThree.js Shading Language

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions