
In an ideal world, the code for these shaders would be modularized and given their own NPM packages. Then, a tool like glslify could combine the code as needed, depending on the layers and effects that are enabled. This would give us the ease of use of EffectComposer, but without the unnecessary extra passes. It would also mean the code is versioned, and easy to maintain and improve on.