To those wondering about Alpha Transparency #68
LexiBigCheese
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
While the
Previous
for the firstTexenv
is the pixel that is currently in the framebuffer,You instead want to notice this:
which is ran when
citro3d
is initialised.src
is the output of yourTexenvs
,dst
is the pixel currently in the framebufferthink of this as:
this means if you're not seeing alpha blending, the issue is probably elsewhere. For example, a misconfigured
attr::Info
, or perhaps use ofbuffer::Info::add
(on any buffer info) multiple times in the same frame (in which case, use immediate mode rendering, described in #57)It could also be the result of not dirtying your
Texenv
s if they are changed more than once in a frame, see #56Beta Was this translation helpful? Give feedback.
All reactions