-
Beta Was this translation helpful? Give feedback.
Answered by
Azaratur
Mar 20, 2025
Replies: 3 comments 12 replies
-
Have you tried this one:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Could you please test the shader on shadertoy to see how it behaves on there? Also, show the complete code used to create that sprite that the shader is applied to. |
Beta Was this translation helpful? Give feedback.
11 replies
-
@Azaratur |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.