bevyengine / bevy

A refreshingly simple data-driven game engine built in Rust
https://bevyengine.org
Apache License 2.0
35.51k stars 3.52k forks source link

Improve docs on bloom #14440

Open cBournhonesque opened 2 months ago

cBournhonesque commented 2 months ago

How can Bevy's documentation be improved?

I was trying to get bloom working and I couldn't understand what I need to do, even after reading the docs and going through the examples.

It looks like bloom needs to use color values higher than 1.0 in Color::LinearSRGB space to be enabled? An easy way is to do something like Color::from(color.to_linear() * 5.0)

alice-i-cecile commented 2 months ago

Correct, we're using the LinearRgba space in a physical sense that represents quantity of light. They don't actually have to be greater than 1.0 I believe, but generally you'll want them to be.