Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
cybersoulK committed Dec 24, 2024
1 parent 2dbbded commit d97033b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/yakui-wgpu/shaders/main.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fn vs_main(
@fragment
fn fs_main(in: VertexOutput) -> @location(0) vec4<f32> {
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;
}

0 comments on commit d97033b

Please sign in to comment.