I present an OpenGL scene that includes some bitmap text. I understand that the order in which I draw things will determine which elements are on top.
However, my bitmap text, even if I draw the last one, is not up to par!
For example, I draw:
1) Background information 2) Buttons
3) Text
All at the same depth z. The buttons are above the background, but the text is invisible. I am changing the depth z of the text, I can see it, but I have other problems.
I use the raster text method from Nehe Tutorials.
How can I make text visible without changing depth z?
source share