From 2709c7a81a1e86f7958a027b1c709c64db37ce50 Mon Sep 17 00:00:00 2001 From: Timon Date: Sun, 15 Feb 2026 19:39:36 +0000 Subject: [PATCH] Fix canvas not being transparent by using Premultiplied alpha mode --- editor/src/node_graph_executor/runtime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/src/node_graph_executor/runtime.rs b/editor/src/node_graph_executor/runtime.rs index 4b6dc1b1a7..9b86f28f84 100644 --- a/editor/src/node_graph_executor/runtime.rs +++ b/editor/src/node_graph_executor/runtime.rs @@ -351,7 +351,7 @@ impl NodeRuntime { width: physical_resolution.x, height: physical_resolution.y, present_mode: surface_caps.present_modes[0], - alpha_mode: vello::wgpu::CompositeAlphaMode::Opaque, + alpha_mode: vello::wgpu::CompositeAlphaMode::PreMultiplied, view_formats: vec![], desired_maximum_frame_latency: 2, },