PDA

View Full Version : Textured Text



Lev
10-31-2000, 12:53 PM
Hi!

I have a question regarding textured text output. I have written a class for that and it works perfectly, but the letters are transparent. Is there any way to make them solid? Recently I saw a website about that but i cannot find the URL (As far as i remember it was something with a stencil buffer).

Thanks for any help,
-Lev

zed
11-01-2000, 12:41 AM
add a alpha channel to the texture + make the alpha of the letters 1 and the background 0
or use white for the letters and black for the background + use a blending mode like egGL_SRC_COLOR, GL_ONE