Closed
Description
Description
Create an attribute and name it the same than the attribute name using toVar( name )
create infinity loop in the NodeBuilder
Reproduction steps
see jsfiddle / code below
Code
const counters = attribute( 'counters', 'float' ).toVar( 'counters' ) // work with toVar('aCounters')
this.vertexNode = Fn( () => {
varyingProperty( 'float', 'vCounters' ).assign( counters )
}) ()
Live example
https://jsfiddle.net/9tnzLxr5/
Screenshots
No response
Version
since r170 to r175dev
Device
No response
Browser
No response
OS
No response