summaryrefslogtreecommitdiff
path: root/workspaces/main/shaders/scene1.wgsl
diff options
context:
space:
mode:
Diffstat (limited to 'workspaces/main/shaders/scene1.wgsl')
-rw-r--r--workspaces/main/shaders/scene1.wgsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/workspaces/main/shaders/scene1.wgsl b/workspaces/main/shaders/scene1.wgsl
index 035f2e9..291173f 100644
--- a/workspaces/main/shaders/scene1.wgsl
+++ b/workspaces/main/shaders/scene1.wgsl
@@ -36,7 +36,7 @@ fn render0(ray: Ray) -> vec3f {
col += sunCol * 0.00005 / (sf * sf);
/*
- let tp1 = rayPlane(ray, vec4<f32>(0.0, -1.0, 0.0, 6.0));
+ let tp1 = rayPlane(ray, vec4f(0.0, -1.0, 0.0, 6.0));
if (tp1 > 0.0) {
let pos = ray.origin + tp1 * ray.direction;
let pp = pos.xz;
@@ -161,5 +161,5 @@ fn render1(ray: Ray) -> vec3f {
var col = render1(ray);
col = aces_approx(col);
col = sRGB(col);
- return vec4<f32>(col, 1.0);
+ return vec4f(col, 1.0);
}