about:config
> set dom.moduleScripts.enabled
to true
Glslify is quite handy and I am currently
using it for our heatmap. Our glslify-enabled shaders are in Shaders/glslify_raw
.
In order to work with these shaders:
npm install -g glslify
to install the CLI command.npm install
to install local glslify dependenciesShaders/glslify_raw
.preprocess_glslify_shaders.py
. This will generate (inlined) shaders and
place them under Shaders/glslify_processed
. :warning: Do not edit the shaders under
glslify_processed
. They will get overwritten by preprocess_glslify_shaders.py