From fbc5d7dd1a9192c29daccdf12a7a067037ff2c2a Mon Sep 17 00:00:00 2001 From: Matt Kosarek Date: Mon, 29 Dec 2025 10:02:38 -0500 Subject: Improve the sun shader with the help of AI --- themes/dist/output.js | 7 +++++++ themes/dist/output.wasm | Bin 99246 -> 101730 bytes 2 files changed, 7 insertions(+) (limited to 'themes/dist') diff --git a/themes/dist/output.js b/themes/dist/output.js index 6f95b3e..011ac68 100644 --- a/themes/dist/output.js +++ b/themes/dist/output.js @@ -3170,6 +3170,11 @@ function dbg(...args) { } }; + var _glUniform1f = (location, v0) => { + GLctx.uniform1f(webglGetUniformLocation(location), v0); + }; + + var miniTempWebGLFloatBuffers = []; var _glUniformMatrix4fv = (location, count, transpose, value) => { @@ -3363,6 +3368,8 @@ var wasmImports = { /** @export */ glShaderSource: _glShaderSource, /** @export */ + glUniform1f: _glUniform1f, + /** @export */ glUniformMatrix4fv: _glUniformMatrix4fv, /** @export */ glUseProgram: _glUseProgram, diff --git a/themes/dist/output.wasm b/themes/dist/output.wasm index 24a3b4f..98fd466 100755 Binary files a/themes/dist/output.wasm and b/themes/dist/output.wasm differ -- cgit v1.2.1