feat: Update to Bevy 0.18 (#202)
This commit is contained in:
@@ -19,7 +19,7 @@ fn main() {
|
||||
.add_plugins(bevy_mod_openxr::features::fb_passthrough::OxrFbPassthroughPlugin)
|
||||
.add_systems(Startup, setup)
|
||||
.add_systems(Update, modify_camera)
|
||||
.insert_resource(AmbientLight {
|
||||
.insert_resource(GlobalAmbientLight {
|
||||
color: Default::default(),
|
||||
brightness: 500.0,
|
||||
affects_lightmapped_meshes: false,
|
||||
|
||||
@@ -10,7 +10,7 @@ fn main() -> AppExit {
|
||||
.add_plugins(bevy_mod_xr::hand_debug_gizmos::HandGizmosPlugin)
|
||||
.add_systems(Startup, setup)
|
||||
.add_systems(Update, handle_input)
|
||||
.insert_resource(AmbientLight::default())
|
||||
.insert_resource(GlobalAmbientLight::default())
|
||||
.run()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user