Upped bloom default

This commit is contained in:
Joshua Barretto 2022-01-18 21:45:21 +00:00 committed by Imbris
parent 391d1f6bf4
commit dea540222f

View File

@ -280,16 +280,16 @@ pub enum BloomFactor {
}
impl Default for BloomFactor {
fn default() -> Self { Self::Low }
fn default() -> Self { Self::Medium }
}
impl BloomFactor {
/// Fraction of output image luminosity that is blurred bloom
pub fn fraction(self) -> f32 {
match self {
Self::Low => 0.05,
Self::Medium => 0.10,
Self::High => 0.25,
Self::Low => 0.1,
Self::Medium => 0.2,
Self::High => 0.3,
Self::Custom(val) => val.max(0.0).min(1.0),
}
}
@ -300,7 +300,7 @@ impl BloomFactor {
pub struct BloomConfig {
/// Controls fraction of output image luminosity that is blurred bloom
///
/// Defaults to `Low`
/// Defaults to `Medium`
pub factor: BloomFactor,
/// Turning this on make the bloom blur less sharply concentrated around the
/// high intensity phenomena (removes adding in less blurred layers to the