From 8fd1930ce6a5f7c34cf9e5e23bb88ec5af0bad30 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Mon, 6 May 2024 15:54:17 +0200 Subject: [PATCH] forgor vec4 type --- kubi/shaders/world.wgsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubi/shaders/world.wgsl b/kubi/shaders/world.wgsl index df7a7b3..d9b6069 100644 --- a/kubi/shaders/world.wgsl +++ b/kubi/shaders/world.wgsl @@ -39,7 +39,7 @@ var s_diffuse: sampler; @fragment fn fs_main(in: VertexOutput) -> @location(0) vec4 { - let color: vec4 = textureSample(t_diffuse, s_diffuse, in.uv, in.tex_index); + let color: vec4 = textureSample(t_diffuse, s_diffuse, in.uv, in.tex_index); if (color.a == 0.) { discard; }