I need to print text on my LWJGL OpenGL window. And I need the text to be onscreen, using screen coordinates and not on the worldspace. Any ideas on how I can do this?
I saw a guide here that showcases the use of the GLApp print() function, but following after the example doesn't work for me.
Here's my render function, following the tutorial I mentioned:
private void updateScreen(){
//Render scene
print(40, 210, "Some text onscreen");
print(100, 100, "Some text onscreen", 1);
Display.update();
}