Intended Usage Of the NME Export Shaders Button

The “Generate code” allows you to get the js code that can recreate the shader by instantiating programmatically the NME blocks. That way, you don’t depend on an external .json file.

The “Export shaders” is another beast. I think it’s more for educational purpose as it can be quite hard to use in your own program (depending on which functionalities you are using in the node shader). See for eg:

1 Like