Exporting Node Material Shader to be used in ThreeJS

Hello there,
I was researching a way to use materials created with NME in other environments, namely threeJS (client requirements do not allow me to handle this project in babylon).
Do you think this might be possible? Any suggested workflow?
Cheers

No, a node material is not meant to be exported at the GLSL code level, even for reuse in Babylon.js. See for eg:

For very simple materials you may be able to use the glsl code directly, but if for eg you add lighting it’s simply impossible, lights relies on existing feature in the Babylon.js framework to work.

3 Likes

Thank you @Evgeni_Popov, my research outcome was correct then.