Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
style(desktop): remove explanatory comments from camera preview shader
Richie McIlroy848ebe5db10e
diff --git a/apps/desktop/src-tauri/src/camera.wgsl b/apps/desktop/src-tauri/src/camera.wgslindex 5caa8f2f1..9b985b3bd 100644--- a/apps/desktop/src-tauri/src/camera.wgsl+++ b/apps/desktop/src-tauri/src/camera.wgsl@@ -168,15 +168,12 @@ fn fs_main(in: VertexOutput) -> @location(0) vec4<f32> {mask = 1.0;}- // Apply the mask with cleaner alpha handling to reduce ghostingif (mask < 0.05) {return vec4<f32>(0.0, 0.0, 0.0, 0.0);}- // Sample the camera texturelet camera_color = textureSample(t_camera, s_camera, final_uv);- // Use sharper alpha cutoff to reduce ghostinglet final_alpha = select(1.0, mask, mask < 0.95);return vec4<f32>(camera_color.rgb, final_alpha);}