remove point lights (never worked anyway)

This commit is contained in:
yuni 2024-03-16 23:41:43 +01:00
parent 99dc391bc2
commit 3317666ec2

View file

@ -62,18 +62,6 @@ pub fn setup(
ambient_light.brightness = 0.0; ambient_light.brightness = 0.0;
// Add Light // 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 { commands.spawn(DirectionalLightBundle {
directional_light: DirectionalLight { directional_light: DirectionalLight {
illuminance: light_consts::lux::OVERCAST_DAY, illuminance: light_consts::lux::OVERCAST_DAY,