From 4cc1754951860a263655f446289ecf0f1431a03e 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; }