-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
HSLA valid range discussion #7095
Copy link
Copy link
Open
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-DocsAn addition or correction to our documentationAn addition or correction to our documentation
Description
bevy::prelude::Color::Hsla::lightness
The docs say that the valid range is [0, 1]. However, when it comes to HDR rendering, lightness > 1.0 can be used to make a color more bright, and is useful for instance with bloom.
Should we change the docs? Introduce a separate "brightness" field to sprites or something? What's the right solution?
Thanks to a user on discord for pointing this out :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-DocsAn addition or correction to our documentationAn addition or correction to our documentation