diff --git a/src/camera.rs b/src/camera.rs index b32591a..70c406e 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -68,6 +68,8 @@ impl Plugin for CameraPlugin { app.add_systems(PreUpdate, apply_input_to_player.run_if(game_running)); app.insert_resource(MapCam::default()); + app.insert_resource(Msaa::Off); + // To center the renderer origin on the player camera, // 1. Disable bevy_xpbd's position->transform sync function app.insert_resource(sync::SyncConfig { @@ -132,6 +134,16 @@ pub fn setup_camera(mut commands: Commands, settings: Res) { transform: Transform::from_xyz(0.0, 0.0, 8.0).looking_at(Vec3::ZERO, Vec3::Y), ..default() }, + bevy::core_pipeline::fxaa::Fxaa { + edge_threshold: bevy::core_pipeline::fxaa::Sensitivity::Extreme, + ..default() + }, + //bevy::core_pipeline::smaa::SmaaSettings::default(), + // bevy::core_pipeline::experimental::taa::TemporalAntiAliasBundle::default(), + // bevy::core_pipeline::contrast_adaptive_sharpening::ContrastAdaptiveSharpeningSettings { + // enabled: true, + // ..default() + // }, BloomSettings { composite_mode: BloomCompositeMode::EnergyConserving, ..default()