cut off star magnitude above 6.0 for brightness/size calculations
This commit is contained in:
parent
69fb360229
commit
3c317111d3
|
@ -134,6 +134,7 @@ pub fn setup(
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
let is_sun = mag < -20.0;
|
let is_sun = mag < -20.0;
|
||||||
|
let mag = mag.min(6.0);
|
||||||
let scale_color = {|color: f32|
|
let scale_color = {|color: f32|
|
||||||
if is_sun {
|
if is_sun {
|
||||||
color * 13.0f32
|
color * 13.0f32
|
||||||
|
|
Loading…
Reference in a new issue