summaryrefslogtreecommitdiff
path: root/crates/throwshade/index.html
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-02-18 13:39:46 -0500
committerLLLL Colonq <llll@colonq>2025-02-18 13:39:46 -0500
commit422511b3022cf9efacd72026dfe56e03f69165f6 (patch)
treed4e8f8204a1caf968ec5831e09d4f4a9744cf7ab /crates/throwshade/index.html
parentcc3e4cbcb484c6aff6fae5124b2400346bb64c95 (diff)
Test shader
Diffstat (limited to 'crates/throwshade/index.html')
-rw-r--r--crates/throwshade/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/throwshade/index.html b/crates/throwshade/index.html
index 63e07ae..9d1f3a9 100644
--- a/crates/throwshade/index.html
+++ b/crates/throwshade/index.html
@@ -16,7 +16,7 @@
addEventListener("TrunkApplicationStarted", async (event) => {
console.log("initialized, starting...");
window.wasmBindings.main_js();
- window.wasmBindings.set_shader("hi");
+ window.wasmBindings.set_shader(" vec4 shade(vec2 cs) {return vec4(cs.x, 0.0, 0.0, 1.0);} ");
});
</script>
<div id="teleia-parent"></canvas>