Hi.
Im trying to use generate Shader button out of NME to move my NodeMaterial into Shader Material.
But it does not seams to work out of the box, and I cant move even the simplest one over to make it work.
Here is the NME:
Here Is the PG
What do I do wrong that it does not wont to wrork?
Regards
Peter
labris
2
Here is working PG - Babylon.js Playground
1 Like
See #include directives in shader code output from Node Material Editor - #2 by Evgeni_Popov for additional context.
Note that the PG in my post doesn’t work anymore, because the ShaderMaterial.isReady method has evolved since then.