Skip to content

Lua draw alpha blending is weird #365

@warmCabin

Description

@warmCabin

Here are a few example screenshots using Mega Man 2 sprites.
In each image, the left sprite shows the true colors, the middle sprite is FCEUX's attempt at blending it with the background, and the right sprite is a true alpha blend.

Notice that the gray Bubble Lead color gets blended down to a perfect gray of #808080, instead of something with a bit of blue in it. The soft pink of the Quick Boomerang did not get blended at all.

Not sure if it has to do with the alpha blending, the 8 bit color palette quantizing, or both. Are all 256 colors always taken up by the NES colors and 8 levels of deemphasis?

I'm also not sure how the 256 color palette interacts with the 64 "unvarying colors."

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