Generated code from nme not correct?

Hello everyone,

I noticed that the generated code from nme has to be wrong in some case but I can’t figure out what’s the problem here. If I parse the nme snippet it works fine. If I create the code and implement it in my project the shader is broken:

https://playground.babylonjs.com/#HZQCXP#11

MorphValue doesn’t have any effect at the generated code example.

Any ideas?

Best

ping @PatrickRyan

When using the generated code, you have to set the mode of the node material to ProceduralTexture, it is Material by defaut:

https://playground.babylonjs.com/#HZQCXP#12

4 Likes

Oh, thank you very much!