Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gradient isn't setting alpha values properly #389

Closed
dankamongmen opened this issue Feb 29, 2020 · 0 comments
Closed

gradient isn't setting alpha values properly #389

dankamongmen opened this issue Feb 29, 2020 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@dankamongmen
Copy link
Owner

In the book, I've got an example where a gradient_sized() is replacing an ncplane_set_base(). Despite having CELL_ALPHA_BLEND, we're opaque, because gradient operations aren't preserving the alpha as promised.

@dankamongmen dankamongmen added the bug Something isn't working label Feb 29, 2020
@dankamongmen dankamongmen added this to the 1.3.0 milestone Feb 29, 2020
@dankamongmen dankamongmen self-assigned this Feb 29, 2020
dankamongmen added a commit that referenced this issue Feb 29, 2020
Gradients can't use palette-indexed color, so don't allow it
in either the foreground or background of any channels. All
channels must have the same alpha setting, which will be matched
in the gradient. #389
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant