You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hordurj
changed the title
Text module: alpha blending of the fonts is not applied correctly in shader
Text: alpha blending of the fonts is not applied correctly in shader
Aug 24, 2024
The glyph texture uses the alpha channel to anti-alias fonts. This information is not correctly used in the text shader.
where c.a is the font texture.
this will make the color darker which will only work on a black background. Instead, the following should be used:
This will properly blend the font with the background. If the alpha channel in the color should be used to make transparent text, then
could be used.
Example:
Before:
After:
The text was updated successfully, but these errors were encountered: