summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/shader_editor/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shader_editor/index.html b/tools/shader_editor/index.html
index 4889046..269a752 100644
--- a/tools/shader_editor/index.html
+++ b/tools/shader_editor/index.html
@@ -457,7 +457,7 @@ struct CommonUniforms {
}
@fragment fn fs_main(@builtin(position) p: vec4<f32>) -> @location(0) vec4<f32> {
- let uv = (p.xy / uniforms.resolution) * 2.0 - 1.0;
+ var uv = (p.xy / uniforms.resolution) * 2.0 - 1.0;
uv.x *= uniforms.aspect_ratio;
// Animated gradient background