Colored glyphs (e.g. emojis) have incorrect colors
w23 opened this issue Β· comments
How to reproduce:
- set background color to something bright (e.g.
808080
) - render some emojis: π€£ππ€ͺπ€¨π§π€π₯°
Why: we don't have a proper alpha value for non-colored glyphs. They are uploaded from RGB source with alpha being force set to 1. So the shader only blends based on rgb values, not alpha.
How to fix, variants:
- Can we make non-colored also rendered with proper alpha channel?
- When uploading non-colored, generate proper alpha values
- Have a separate RGBA atlas for colored glyphs