Replace blend with mix equivalent in quad shaders

This commit is contained in:
Héctor Ramón Jiménez 2025-05-12 18:11:51 +02:00
parent 9ac4c9f13d
commit df37d6f9bc
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 3 additions and 7 deletions

View file

@ -179,7 +179,7 @@ fn gradient_fs_main(input: GradientVertexOutput) -> @location(0) vec4<f32> {
internal_distance
);
mixed_color = blend(input.border_color, mixed_color, border_mix);
mixed_color = mix(mixed_color, input.border_color, border_mix);
}
var dist: f32 = distance_alg(