Skip to content

Gizmo gradient blending should be done in the color space provided, rather than linear RGB #12162

@alice-i-cecile

Description

@alice-i-cecile

Bevy version

0.13.1

What you did

Called bevy_gizmo::gizmos::line_gradient or similar.

What went wrong

The colors appear to be blended in linear RGBA space: instead, these should be blended in the color space of the start and end color types (which should be forced to be the same).

Additional information

Found as part of #12056.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-GizmosVisual editor and debug gizmosA-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions