mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Upped bloom default
This commit is contained in:
parent
391d1f6bf4
commit
dea540222f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user