Hello, just to start, this shader is great! The smart padding is especially nice to have.
However, I’m having an odd issue. I tried building my game for web and got the following exception when booting the game:
...
File "renpy/gl2/gl2shader.pyx", line 267, in renpy.gl2.gl2shader.Program.load_shader
renpy.gl2.gl2shader.ShaderError: ERROR: 0:31: '[]' : Index expression must be constant
...
Emscripten-3.1.67-wasm32-32bit wasm32
Ren'Py 8.5.2.26010301
The rest of the error is too long to include here though I could DM it if needed but after the first Index expression must be constant, the same error repeats several more times with the 0:31 number changing.
The game worked fine when running on my computer so I removed any files related to shaders one at a time and it seems to build for web just fine IF I remove this shader. If you have any idea of how to fix this without me having to change outline shaders, I’d be very grateful.