An extension to easily create or update any NodeMaterial.
Call the method Show
of the BABYLON.NoteMaterial
class:
BABYLON.NoteMaterial.Show({hostElement: document.getElementById("host")});
This method will retrieve dynamically the library nodeEditor.js
, download it and add
it to the html page.
If you don't have access to internet, the node editor should be imported manually in your HTML page :
<script src="babylon.nodeEditor.js" />