Closed matthewarcus closed 3 years ago
@o-s-warren have you see n this comment from @matthewarcus (thank you!)
Ah fantastic! Great fix, thank you @matthewarcus
Glad to be of service...
Website looks good now on FF.
This also closes #15 Woohoo! Thanks @matthewarcus
Firefox seems to get confused over loading the fragment shader (console log indicates it loads a dummy shader first and then the proper one, which doesn't seem to get initialized properly). It works for me if I change canvas.js to:
const sandbox = new GlslCanvas(canvas, { fragmentString: frag })
and deleting the line:
sandbox.load(frag)
(Original & fixed version work with Chrome - this is on Ubuntu 20.04)