Node Material Gradient Block Color Update Problem

Hey guys,
I am having a problem updating the color of a nme block, could you take a look, why is the color is not updated in the setTimeout,

result: green pattern,
expected result: blue pattern

Here we are:
Node Material Gradient Block Color Change Problem | Babylon.js Playground

You need to rebuild the material as you are changing a block that generates code

1 Like