But I don’t see any types or anything in JavaScript, may be worth mentioning that I haven’t written JavaScript in years only typescript. I know three is a JS exclusive library but I imagine that there is some subset of users that like types. To me the shader output is actually more readable, except for the mangled names.
I’m not trying to be combatitive if certain people read this, I am genuinely just trying to understand the approach/philosophy. Please don’t ban me.
To me “nodes” invoke the same feeling as “no code”. I have great interest in this topic and I’ve made a (broken) tool for this myself - https://youtu.be/FwBhpUgy9Ss?si=KW5FcHgm4rPrhRuU. But I don’t understand why this would be done in code.
For example why isn’t it a JSON? Or by that extension, some other language? Why does it have to be this imperative, by calling specific functions in JavaScript?
This all happens at runtime right? You have to load your node code, threes node code, compile to a shader, and then have the machine compile your shader. If it were done in some editor where you end up with a compact artifact and no node runtime it would make more sense to me for a web engine.