Simple tool to load GLSL shaders on HTML Canvas using WebGL
Full Changelog: https://github.com/patriciogonzalezvivo/glslCanvas/compare/0.1.7...0.1.8
Fixing:
#ifdef
and #if define
New features:
@actarian add support for multi buffers. Using '#define BUFFER_[NUMBER]' you can fork code into different buffers. That then can be fetch at uniform sampler2D u_buffer[NUMBER]
. See the example at: https://github.com/patriciogonzalezvivo/glslCanvas/blob/master/buffers.html#L22
@giannif refactor the building process to use rollup, adding a proper linting and updating this project to modern JS/ES practices. Build files now can be found in /dist
and /lib
@danikaze add support for errors when WebGL doesn't load correctly
Thanks you three for you time making glslCanvas better !!!
Preparing stuff for npm packages thanks to @louh!!!
load
, render
, error
)