Use premultiplied alpha blending from coverage

This commit is contained in:
grovesNL 2022-06-03 00:31:46 -02:30
parent 32a6e1d876
commit 857f8c72c0

View file

@ -290,7 +290,7 @@ impl TextAtlas {
entry_point: "fs_main",
targets: &[ColorTargetState {
format,
blend: Some(BlendState::ALPHA_BLENDING),
blend: Some(BlendState::PREMULTIPLIED_ALPHA_BLENDING),
write_mask: ColorWrites::default(),
}],
}),