Open
Description
Description
The case of using a Loop node with a boolean node doesn't seem to be working...
Reproduction steps
Code
// This should remove all green...
const out = vec3(0,1,0 ).toVar();
const o = Fn(()=>{
const value = float( 0 ).toVar();
Loop( value.lessThan( 10 ), () => {
value.addAssign( 1 );
out.y.subAssign( 0.1 );
});
return out ;
});
Live example
https://jsfiddle.net/xzonyf37/
Screenshots
No response
Version
r174
Device
Desktop
Browser
Chrome
OS
Linux