mirror of
https://github.com/bevyengine/bevy
synced 2024-11-13 00:17:27 +00:00
f5ab1040a5
# Objective - Describe the objective or issue this PR addresses. Improve docs around emissive colors -- I couldn't figure out how to increase the emissive strength of materials, asking on discord @alice-i-cecile told me that color channel values can go above `1.0` in the case of the `emissive` field. I would have never figured this out on my own, because [the docs for emissive](https://docs.rs/bevy/latest/bevy/prelude/struct.StandardMaterial.html#structfield.emissive) don't mention this possibility, and indeed if you follow the link in the `emissive` doc [to the `Color` type](https://docs.rs/bevy/latest/bevy/render/color/enum.Color.html#variants), you are told that values should be in `[0.0, 1.0]`. ## Solution - Describe the solution used to achieve the objective above. Just added a note on the possibility of large color channel values with example. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |