Re: Renderering text onto another textures with alpha blending
David Olofson <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <CAAcqxQoxjwH_q3=x1GO8vUHudFX_wAVnhP2dFHJ6sTdLH5VmOg@mail.gmail.com> |
I believe the dark edges come from 'blendedTexture'. To generate an RGBA texture with "pure" edges, you need to make sure all pixels have the correct (text) color - even the invisible ones. So, that texture needs to be the same color as the text, or you have to prepare the texture in some other way. Otherwise, colors bleed into the edges through the antialiased edges of the text. _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org