
Displaying a Bitmap font with Border
HI
In my current OpenGL project, i am using the code from nehe lesson 17.. The code works very well
.
But what i want to do is in my current project, the screen is really busy, so when i display the font, it is hard to see. What i want to do is display the main font character in white, but around the actualy letter, i want like a 1 pixel blank border (so it makes the font easy to read).
the problem is that with when using alpha (as the font needs to be seen on top of the action (ie, you can see what is happening in the background, behind the text), is that black means that that part of the texture is transparent !!.
is there a way to set for example the transparent colour to say blue, and then make the font texture using the black and white colours as non-transparent ??
How do i do this ??

This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement