explicitly set tonemapping to TonyMcMapface

This commit is contained in:
yuni 2024-03-30 15:50:36 +01:00
parent 1d2a7b7848
commit bee0d98ae1

View file

@ -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()
},