2
0
Fork 0
mirror of https://github.com/bevyengine/bevy synced 2025-03-07 08:47:24 +00:00
bevy/crates/bevy_core_pipeline
Alice Cecile 9d74e16821
Set the default target exposure to the minimum value, not 0 ()
# Objective

- In particularly dark scenes, auto-exposure would lead to an unexpected
darkening of the view.
- Fixes .

## Solution

The average luminance should default to something else than 0.0 instead,
when there are no samples. We set it to `settings.min_log_lum`.

## Testing

I was able to reproduce the problem on the `auto_exposure` example by
setting the point light intensity to 2000 and looking into the
right-hand corner. There was a sudden darkening.

Now, the discontinuity is gone.

---------

Co-authored-by: Alice Cecile <alice.i.cecil@gmail.com>
Co-authored-by: Bram Buurlage <brambuurlage@gmail.com>
2024-05-29 22:37:42 +00:00
..
src Set the default target exposure to the minimum value, not 0 () 2024-05-29 22:37:42 +00:00
Cargo.toml Implement fast depth of field as a postprocessing effect. () 2024-05-13 18:23:56 +00:00
README.md Add README.md to all crates () 2024-05-02 18:56:00 +00:00

Bevy Core Pipeline

License Crates.io Downloads Docs Discord