From fa26e796ef0e3189ed185263266acb3cd2916045 Mon Sep 17 00:00:00 2001 From: Marco Buono Date: Sun, 16 Apr 2023 02:21:56 -0300 Subject: [PATCH] Tweak camera height and enable HDR by default --- examples/3d/transmission.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/3d/transmission.rs b/examples/3d/transmission.rs index 5466bdee2e..8014257c14 100644 --- a/examples/3d/transmission.rs +++ b/examples/3d/transmission.rs @@ -253,7 +253,11 @@ fn setup( // Camera commands.spawn(( Camera3dBundle { - transform: Transform::from_xyz(0.0, 2.8, 7.0).looking_at(Vec3::ZERO, Vec3::Y), + camera: Camera { + hdr: true, + ..default() + }, + transform: Transform::from_xyz(0.0, 1.8, 7.0).looking_at(Vec3::ZERO, Vec3::Y), color_grading: ColorGrading { exposure: -2.0, post_saturation: 1.2,