Skip to content

Alpha should apply to layer as a whole, not every element in layer #37

@dominikh

Description

@dominikh

When modifying the with_winit example to render with a non-unity alpha, such as

renderer.render(lottie, frame, Affine::IDENTITY, 0.5)

the result looks like
image
with each component of the tiger having alpha applied to it individually. Instead, the alpha should apply to the rendered image as a whole.

I suspect, but haven't confirmed, that the same issue exists for layers specified by the lottie file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions