-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSDF fonts perform pre-multiplied alpha, standard fonts don't #199
Comments
Could you show me what code you're using please? |
Huh, for some reason MSDF fonts are doing pre-multiplied alpha. Not sure why I did that! Easy fix though - comment out line 54 in the fragment shader for |
If I comment out the line 54 I just get no blending at all!? |
narrows eyes Yeah ok lol that makes sense. Try |
Works perfectly, thank you so much for the fast reply Juju 👌 😃 |
Implemented publicly for v7.1.2 |
Hi I was working with the MSDF fonts and ran in to ".blend(colour, alpha)" not working as expected, I tested with a "normal" font, and that works.
It looks like it just blends with Black not matter what color you are setting.
I'm testing on Windows, with the latest stable GMS IDE and Runtime version, Scribble version 7.1.2pre002.
Sincerely
The text was updated successfully, but these errors were encountered: