3 ms·
three.js does shader generation at runtime and I expect they don’t want to significantly increase their download size by adding a compiler, so a text-based lang
by om2 7y ago
three.js does shader generation at runtime and I expect they don’t want to significantly increase their download size by adding a compiler, so a text-based language is likely better for frameworks like that. The calculus may be different for a game engine like Unity. In that case there is already an offline tool chain involved.