M crates/unified/Cargo.toml => crates/unified/Cargo.toml +2 -2
@@ 5,7 5,7 @@ edition = "2024"
version = "0.1.0"
[dependencies]
-bevy = { version = "0.16", features = ["serialize", "file_watcher"] }
+bevy = { version = "0.16", features = ["serialize", "file_watcher", "tonemapping_luts"] }
bevy_rapier2d = { version = "0.30", features = ["serde-serialize", "simd-stable"] }
bevy_common_assets = { version = "0.13", features = ["toml"] }
@@ 19,4 19,4 @@ log = { version = "*", features = ["max_level_debug", "release_max_level_warn"]
serde = { version = "1", features = ["derive"] }
-rand = "0.9">
\ No newline at end of file
+rand = "0.9"
M crates/unified/src/client/mod.rs => crates/unified/src/client/mod.rs +5 -0
@@ 6,6 6,7 @@ mod starfield;
use std::net::{SocketAddr, UdpSocket};
use std::time::SystemTime;
use bevy::core_pipeline::bloom::Bloom;
+use bevy::core_pipeline::fxaa::Fxaa;
use bevy::core_pipeline::tonemapping::Tonemapping;
use bevy::prelude::*;
use bevy::window::PrimaryWindow;
@@ 78,6 79,10 @@ fn find_me(mut commands: Commands, q_clients: Query<(Entity, &Player), Added<Pla
fn setup_graphics(mut commands: Commands) {
commands.spawn(Camera2d)
+ .insert(Camera {
+ ..default()
+ })
+ .insert(Fxaa::default())
.insert(MainCamera);
}
M crates/unified/src/client_plugins.rs => crates/unified/src/client_plugins.rs +2 -2
@@ 23,6 23,6 @@ impl PluginGroup for ClientPluginGroup {
)
.add(RepliconRenetClientPlugin)
.add(ClientPlugin { server: self.server })
- .add(RapierDebugRenderPlugin::default())
+ //.add(RapierDebugRenderPlugin::default())
}
-}>
\ No newline at end of file
+}