From d97033bcee3bf06f8cc8bd010cbf12cca1e1bc75 Mon Sep 17 00:00:00 2001 From: cybersoulK Date: Tue, 24 Dec 2024 15:53:27 -0800 Subject: [PATCH] . --- crates/yakui-wgpu/shaders/main.wgsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/yakui-wgpu/shaders/main.wgsl b/crates/yakui-wgpu/shaders/main.wgsl index deb6b8e..a8101ec 100644 --- a/crates/yakui-wgpu/shaders/main.wgsl +++ b/crates/yakui-wgpu/shaders/main.wgsl @@ -35,7 +35,7 @@ fn vs_main( @fragment fn fs_main(in: VertexOutput) -> @location(0) vec4 { var color = textureSample(color_texture, color_sampler, in.texcoord); - color *= vec4(color.rgb * in.color.a, 1.0); + color = vec4(color.rgb * in.color.a, in.color.a); return in.color * color; } \ No newline at end of file