From b1007ea9e227ef2b993ced810dd2e42a429fbc25 Mon Sep 17 00:00:00 2001 From: ghostly_zsh Date: Wed, 2 Jul 2025 18:59:00 -0500 Subject: [PATCH] antialiasing --- crates/unified/Cargo.toml | 4 ++-- crates/unified/src/client/mod.rs | 5 +++++ crates/unified/src/client_plugins.rs | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/crates/unified/Cargo.toml b/crates/unified/Cargo.toml index 19d7c1a4cf75641cdf67d311462b02ed8986167c..bd1f1d728fd41b45c64f5b32acd29a742a18e827 100644 --- a/crates/unified/Cargo.toml +++ b/crates/unified/Cargo.toml @@ -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" diff --git a/crates/unified/src/client/mod.rs b/crates/unified/src/client/mod.rs index 9e501a72fba9ec590bb3178c6a9fc0b1f4516872..b06d5aac9a2d762aa11839b5dce9834033639a11 100644 --- a/crates/unified/src/client/mod.rs +++ b/crates/unified/src/client/mod.rs @@ -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