Text + GL
Posted: Wed Jun 15, 2011 10:15 am
Hello, I am trying to render text onto a quad, or on top of, and I can't find out how to do this anywhere. this is my code for drawing so far:
Where and how can I draw text into that so it will be manipulated along with the rest of the things in my matrix functions?
Code: Select all
glBegin(GL_QUAD);
glColor3b(53,149,216);
glVertex3v16(inttov16(-1), inttov16(-1),0);
glColor3b(92,188,255);
glVertex3v16(inttov16(1), inttov16(-1), 0);
glColor3b(73,169,236);
glVertex3v16(inttov16(1), inttov16(1), 0);
glColor3b(33,129,196);
glVertex3v16(inttov16(-1), inttov16(1), 0);
glEnd();