dim rings a bit
This commit is contained in:
parent
0e1761855b
commit
123038b864
|
@ -59,7 +59,7 @@ fn ring_density2(radius: f32) -> f32 {
|
|||
fn fragment(in: VertexOutput) -> @location(0) vec4<f32> {
|
||||
let jupiter_percent = jupiter_radius / ring_radius;
|
||||
let color = vec3<f32>(0.3, 0.3, 0.3);
|
||||
var alpha = 0.04;
|
||||
var alpha = 0.02;
|
||||
let r_uv = 2 * distance(in.uv, vec2<f32>(0.5));
|
||||
let r = r_uv * ring_radius / jupiter_radius * jupiter_radius_Mm;
|
||||
|
||||
|
|
Loading…
Reference in a new issue