From a75634ddc7a3d9bbc24cd06b6e76d5308126c095 Mon Sep 17 00:00:00 2001 From: JMS55 <47158642+JMS55@users.noreply.github.com> Date: Fri, 19 May 2023 16:09:12 -0400 Subject: [PATCH] Update Camera::hdr docs (#8634) Updates/removes an outdated doc comment. It seems to work without issue now. We could also consider making hdr the default at this point. --- crates/bevy_render/src/camera/camera.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/bevy_render/src/camera/camera.rs b/crates/bevy_render/src/camera/camera.rs index 16bf8ec5e9..da0e4818ae 100644 --- a/crates/bevy_render/src/camera/camera.rs +++ b/crates/bevy_render/src/camera/camera.rs @@ -103,10 +103,7 @@ pub struct Camera { #[reflect(ignore)] pub target: RenderTarget, /// If this is set to `true`, the camera will use an intermediate "high dynamic range" render texture. - /// Warning: we are still working on this feature. If MSAA is enabled, there will be artifacts in - /// some cases. When rendering with WebGL, this will crash if MSAA is enabled. - /// See for details. - // TODO: resolve the issues mentioned in the doc comment above, then remove the warning. + /// This allows rendering with a wider range of lighting values. pub hdr: bool, // todo: reflect this when #6042 lands /// The [`CameraOutputMode`] for this camera.