Skip to main content

check_tonemapping_none

Function check_tonemapping_none 

Source
pub fn check_tonemapping_none(
    cameras: Query<'_, '_, (NameOrEntity, &Tonemapping, Option<&DebandDither>, Option<&ColorGrading>), (With<Camera>, Or<(Changed<Tonemapping>, Changed<DebandDither>, Changed<ColorGrading>)>)>,
)
Expand description

Warns when a camera has Tonemapping::None together with DebandDither::Enabled or a non-default ColorGrading, since neither has any effect without tonemapping.