explicitly set tonemapping to TonyMcMapface
This commit is contained in:
parent
1d2a7b7848
commit
bee0d98ae1
|
@ -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()
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue