correct egui blending
This commit is contained in:
parent
e8bcaae2a7
commit
ea3c24ec46
|
@ -1996,11 +1996,15 @@ impl EguiState {
|
|||
..Default::default()
|
||||
}),
|
||||
color_blend: Some(pipeline::ColorBlendState {
|
||||
attachments: &[vk::PipelineColorBlendAttachmentState {
|
||||
color_write_mask: vk::ColorComponentFlags::RGBA,
|
||||
blend_enable: 0,
|
||||
..Default::default()
|
||||
}],
|
||||
attachments: &[vk::PipelineColorBlendAttachmentState::default()
|
||||
.color_write_mask(vk::ColorComponentFlags::RGBA)
|
||||
.blend_enable(true)
|
||||
.color_blend_op(vk::BlendOp::ADD)
|
||||
.src_color_blend_factor(vk::BlendFactor::ONE)
|
||||
.dst_color_blend_factor(vk::BlendFactor::ONE_MINUS_SRC_ALPHA)
|
||||
.alpha_blend_op(vk::BlendOp::ADD)
|
||||
.src_alpha_blend_factor(vk::BlendFactor::ONE)
|
||||
.dst_alpha_blend_factor(vk::BlendFactor::ONE_MINUS_SRC_ALPHA)],
|
||||
..Default::default()
|
||||
}),
|
||||
rendering: Some(pipeline::RenderingState {
|
||||
|
|
Loading…
Reference in a new issue