if i save a nme material as json and then load it via nodematerial.loadasync inside the playground, i get the following error:
logger.ts:83 BJS - [21:04:13]: Error: FRAGMENT SHADER ERROR: 0:15: ‘SimplexPerlin3D’ : syntax error
(it works fine if i generate the javascript code inside the nme and manually paste the code inside the playground)
(it also works if i save and then load the json inside the nme again)
reproduce:
- export json from https://nme.babylonjs.com/#JNQ200#14
- open the following playground: https://www.babylonjs-playground.com/#9BKDIN#1
- open nme of the material
- inside nme load json file from step 1 (works correctly)
- go back to playground -> error in console