Trouble with importing NodeMaterial to the local project, Noob question : )

I am trying to load material created in NME into my local project. But I am facing the error “BABYLON.NodeMaterial is not a constructor”. I imported “babylonjs.materials.js” and “babylon.nodeEditor.js” but that did not help. Which library do I need to import to work with Node Materials? Thx!

This has been released pretty recently you might not be using the correct version, it is only available in 4.1 and +

You do not need the external material lib as it is part of core.


Thank you so much! Yes, I really had an outdated version! :slight_smile:

1 Like