From bee0d98ae160ba3554a7d64a6c0825732d948fea Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 30 Mar 2024 15:50:36 +0100 Subject: [PATCH] explicitly set tonemapping to TonyMcMapface --- src/camera.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/camera.rs b/src/camera.rs index 15f9e88..1462b87 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -2,6 +2,7 @@ use bevy::prelude::*; use bevy::input::mouse::MouseMotion; use bevy::window::PrimaryWindow; use bevy::core_pipeline::bloom::{BloomCompositeMode, BloomSettings}; +use bevy::core_pipeline::tonemapping::Tonemapping; use bevy_xpbd_3d::prelude::*; use std::f32::consts::*; use crate::{settings, audio, actor}; @@ -53,6 +54,7 @@ fn setup_camera( hdr: true, // HDR is required for bloom ..default() }, + tonemapping: Tonemapping::TonyMcMapface, transform: Transform::from_xyz(0.0, 0.0, 8.0).looking_at(Vec3::ZERO, Vec3::Y), ..default() },