Path: blob/main/release-content/migration-guides/hdr_component.md
6592 views
---
---
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 forBloom
,AutoExposure
, andAtmosphere