Just curious; How do I place my webgl shaders, in an external file?
Currently I\'m having;
You could use an open source shader managing library like mine:
https://github.com/ILOVEPIE/Shader.js
It lets you load shaders from urls and caches shader source code for future visits to the site. It also makes it simpler to use uniforms.