sync jupiter's radius in ring shader (fixes position of metis notch)
This commit is contained in:
parent
3d98834246
commit
35c6500ec4
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue