Does Node Material compile to Shader code or is it Javascript only?

I’ve noticed that the BabylonJs magicians started conjuring Node based editor for creating a new material much like Unity’s Shader Graph. This is amazing! I noticed that there are tutorial videos already too.

I was just wondering if the graph you set up eventually compiles to GLSL code or is it purely done in Javascript/CPU?

Thank you!

all this kind programs make shader strings(fragment-vertex )and GPU compile that

1 Like

yup all converted to glsl adapted to the version of webgl you are using :slight_smile: