Skip to content

Multiply blend mode does not work with alpha #62

Description

@RyannThi

As the title says, multiply blending does not work with alpha on textures, nor does the SetImageState change its opacity.
Example:

Image

Code:

SetImageState("image:ReimuFake_1", "mul+mul", Color(100,5,5,5))
Render("image:ReimuFake_1", 700, 155, 0, 1, 1)
SetImageState("image:ReimuFake_1", "", Color(255,255,255,255))
Render("image:ReimuFake_1", 675, 175, 0, 1, 1)

I apologize if there's any known method to avoid this. If there is, I'd love to know about it. And if this is intended behavior, I'd like to know why, too.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions