Hi!
So recently I've tried to learn GLSL and I managed to put together a shader for the finish screen in Airscape. It works totally fine in preview, but weirdly enough on export it's slightly broken.
It seems to be independent of export platform and browser.
Here's the project that demonstrates the brokenness
Here's the shader itself.
(The shader is in two parts, but both share the same bug so I thought I'd provide the one part).
In preview, it looks like this:
Exported, it looks like this.
I briefly tested it on a Mac and it looked even worse in export, with weird pixel glitching etc. No idea if it's related, or a separate problem.
Does anyone have any idea what's going on? I'm assuming the problem lies in the shader data being added to c2runtime.js on export. The problem happens with or without minification though.
Thanks!