Skip to content

Alpha ignored on shader? #2468

Closed Answered by Azaratur
Azaratur asked this question in Q&A
Mar 20, 2025 · 3 comments · 12 replies
Discussion options

You must be logged in to vote

The bug was on the blend mode.
BlendFunc blend; blend.src = backend::BlendFactor::SRC_ALPHA; blend.dst = backend::BlendFactor::ONE_MINUS_SRC_ALPHA; _sprite->setBlendFunc ( blend );

This fixed the issue.

Replies: 3 comments 12 replies

Comment options

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

Comment options

You must be logged in to vote
11 replies
@aismann
Comment options

aismann Mar 20, 2025
Collaborator

@Azaratur
Comment options

@Azaratur
Comment options

@Azaratur
Comment options

Answer selected by Azaratur
Comment options

You must be logged in to vote
0 replies
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