Skip to content

Cannot DrawCircle brighter than background of CreateWindow #1115

Answered by bruno-f-cruz
tomasmanu asked this question in Q&A
Discussion options

You must be logged in to vote

"A" is actually "Alpha", it controls the transparency of the object. I am not sure what the default blending method is right now but I believe it is just weighting the object and everything below. In your case, I believe it will be something like A * RGB_top + (1-A) * RGB_Behind.
If you want to dynamically change the background, I would just throw a Quad behind the circle, which will allow you to easily change the color whenever you want.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@tomasmanu
Comment options

Answer selected by tomasmanu
Comment options

You must be logged in to vote
1 reply
@tomasmanu
Comment options

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