diff --git a/examples/ui.rs b/examples/ui.rs index 70465998dc..fe3f4d1caf 100644 --- a/examples/ui.rs +++ b/examples/ui.rs @@ -183,7 +183,7 @@ fn setup(world: &mut World) { math::vec2(200.0, 200.0), Anchors::new(0.5, 0.5, 0.5, 0.5), Margins::new(0.0, 100.0, 0.0, 100.0), - math::vec4(1.0, 0.7, 0.7, 0.2), + math::vec4(1.0, 0.9, 0.9, 0.4), ),)], ); } diff --git a/src/render/passes/ui/mod.rs b/src/render/passes/ui/mod.rs index b18b5159f8..7d13658414 100644 --- a/src/render/passes/ui/mod.rs +++ b/src/render/passes/ui/mod.rs @@ -206,7 +206,7 @@ impl Pipeline for UiPipeline { }, alpha_blend: wgpu::BlendDescriptor { src_factor: wgpu::BlendFactor::One, - dst_factor: wgpu::BlendFactor::OneMinusSrcAlpha, + dst_factor: wgpu::BlendFactor::One, operation: wgpu::BlendOperation::Add, }, write_mask: wgpu::ColorWrite::ALL,