Well, as everyone said, for me Shader Nodes should look similar to Blender Node system, like in the link some Artist show one:
so you just connect what you need. it will auto-manage shader glslib imports, variables and others during merge into one shader as i understand.
But what is nice is that you can do things like(also in provided link):
Variable color = new Variable(“vec4”, “color”).set(“vec4(0.0)”);
Shader.node(“dash100.frag”, “Dash”) // finds the Dash node
new Variable(“vec4”, “inColor”).set(“vec4(1.0)”),
// then use color as an input for another node for example
that you cant do just using glslibs.
Since anyway most of JME users are developers, it would not be problem to use just glslibs, but myself i think it would be good to have programmable Shader Nodes or GUI edited too. IMO its quite easy and its not “Mess”. Look at this image that artist provided, imo there would be much more “Mess” when doing it as single shader(even with glslibs) instead of shaderNodes where you only care about in/out. (you dont need to know all behind it, while in glslibs you othen need to know things like “use this function, but before i need use this function, also i cant use it twice, because some variable might be doubled in value”. So here i would say Shader nodes are like “proper Object encapsulation” term.
Ofc its just my opinion, i will be happy with anything that will upgrade shader system. (also i think @RiccardoBlb might tell much here).