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.
This commit is contained in:
JMS55 2023-05-19 16:09:12 -04:00 committed by GitHub
parent e8a694fc35
commit a75634ddc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 <https://github.com/bevyengine/bevy/pull/3425> 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.