Skip to content

HSLA valid range discussion #7095

@JMS55

Description

@JMS55

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-DocsAn addition or correction to our documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions