sync jupiter's radius in ring shader (fixes position of metis notch)

This commit is contained in:
yuni 2024-11-30 00:28:43 +01:00
parent 3d98834246
commit 35c6500ec4

View file

@ -6,7 +6,7 @@
@group(2) @binding(0) var<uniform> ring_radius: f32; @group(2) @binding(0) var<uniform> ring_radius: f32;
@group(2) @binding(1) var<uniform> jupiter_radius: f32; @group(2) @binding(1) var<uniform> jupiter_radius: f32;
const jupiter_radius_Mm: f32 = 71.492; const jupiter_radius_Mm: f32 = 69.911;
const brightness = 0.025; const brightness = 0.025;
fn smooth_edge(start: f32, end: f32, value: f32) -> f32 { fn smooth_edge(start: f32, end: f32, value: f32) -> f32 {