Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/release-content/migration-guides/hdr_component.md
6592 views
---
title: Split `Hdr` from `Camera` pull_requests: [18873]
---

Camera.hdr has been split out into a new marker component, Hdr

  • before: commands.spawn((Camera3d, Camera { hdr: true, ..default() });

  • after: commands.spawn((Camera3d, Hdr));

  • rendering effects can now #[require(Hdr)] if they only function with an HDR camera. This is currently implemented for Bloom, AutoExposure, and Atmosphere