white sun

This commit is contained in:
yuni 2024-03-17 14:19:17 +01:00
parent d7823f7657
commit 7801dc6cdb

View file

@ -90,9 +90,7 @@ pub fn setup(
// Add THE SUN
let hydrogenfusion_handle = materials.add(StandardMaterial {
base_color: Color::WHITE,
emissive: Color::rgb_linear(2300.0, 900.0, 300.0),
perceptual_roughness: 0.0,
emissive: Color::rgb_linear(2900.0, 2400.0, 2900.0),
..default()
});
let sphere_radius = 5000.0;
@ -103,7 +101,7 @@ pub fn setup(
transform: Transform::from_xyz(
0.0,
30000.0,
-400000.0,
-500000.0,
),
..default()
});