Skip to content

Trying to write blended pixels to the screen, getting no transparency / black clear. #293

Answered by parasyte
Zageron asked this question in Q&A
Discussion options

You must be logged in to vote

If I understand correctly what you are doing, there is no blending in the latest released version so you are going to see the exact color values you put into the buffer. The alpha channel is completely ignored.

The unreleased main branch has configurable BlendState, and defaults to alpha blending, which is probably closer to what you expect.

I don’t know what you mean by “alpha blending modes”, that seems to imply you were trying to change the BlendState on the unreleased main branch, and it was having no affect. Is this the case?

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@Zageron
Comment options

@parasyte
Comment options

@parasyte
Comment options

@Zageron
Comment options

@parasyte
Comment options

Answer selected by Zageron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants