From 3571c0d5772b22ec75d81cc3d0d7bc4e879a53a2 Mon Sep 17 00:00:00 2001 From: Timon Date: Tue, 17 Feb 2026 20:48:16 +0000 Subject: [PATCH] Fix Vello canvas on web not being transparent by using premultiplied alpha mode (#3770) 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 4b6dc1b1..9b86f28f 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, },