Skip to content

EffectTransform.transformColor doesn't match the GPU path #535

Closed
@adroitwhiz

Description

@adroitwhiz

Expected Behavior

EffectTransform.transformColor should transform a color by the given drawable's effects in the same way as the sprite shader does.

Actual Behavior

The sprite shader applies the "color" effect in HSV space (#355), and applies the "brightness" effect in RGB space (#399).

EffectTransform.transformColor, on the other hand, applies the "color" and "brightness" effects in HSL space.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions