remove point lights (never worked anyway)
This commit is contained in:
parent
99dc391bc2
commit
3317666ec2
12
src/world.rs
12
src/world.rs
|
@ -62,18 +62,6 @@ pub fn setup(
|
|||
ambient_light.brightness = 0.0;
|
||||
|
||||
// Add Light
|
||||
commands.spawn(PointLightBundle {
|
||||
transform: Transform::from_xyz(5.0, 5.0, 0.0),
|
||||
point_light: PointLight {
|
||||
intensity: 0.0,
|
||||
range: 500.0,
|
||||
color: Color::WHITE,
|
||||
shadows_enabled: true,
|
||||
..default()
|
||||
},
|
||||
..default()
|
||||
});
|
||||
|
||||
commands.spawn(DirectionalLightBundle {
|
||||
directional_light: DirectionalLight {
|
||||
illuminance: light_consts::lux::OVERCAST_DAY,
|
||||
|
|
Loading…
Reference in a new issue