Hi all, I’ve been developing a game engine in vulkan for a while, and I’ve had this problem that I can’t quite figure out. I’m using Freetype to render text, and for some reason when I render my text against a light background, the edges are gray. It seems like instead of blending to transparency, it is blending to black.
You didn’t really mention how you’re rasterizing and blending your text onto the framebuffer. But I suspect pre-multiplied alpha blending and/or an sRGB framebuffer will resolve your issue. Read this post for more details (including screenshots and tutorial links):
Note: the last few posts in this thread discuss sRGB framebuffers, why, and what you get if you don’t use one.