tweak ring appearance & player location
This commit is contained in:
parent
5f7a727f7e
commit
720b39e09a
|
@ -65,8 +65,9 @@ fn fragment(in: VertexOutput) -> @location(0) vec4<f32> {
|
|||
let r = r_uv * ring_radius / jupiter_radius * jupiter_radius_Mm;
|
||||
|
||||
alpha *= ring_density(r);
|
||||
alpha -= 0.001;
|
||||
if alpha <= 0.0 {
|
||||
return vec4<f32>(color, alpha);
|
||||
return vec4<f32>(color, 0.0);
|
||||
}
|
||||
|
||||
if in.uv[0] < 0.5 {
|
||||
|
|
|
@ -9,7 +9,7 @@ actor 0 0 0 jupiter
|
|||
|
||||
actor 0 593051 0 suit
|
||||
relativeto jupiter
|
||||
orbit 220800e3 0.66
|
||||
orbit 226000e3 0.66
|
||||
player yes
|
||||
id player
|
||||
mass 200.0
|
||||
|
|
Loading…
Reference in a new issue