Woljix
Woljix

Reputation: 15

C# OpenTK - How do i render Text on screen

I have been looking for the answer for this question for a long time, but i have not found any good answers yet. So that is why i decided to go on Stackoverflow to ask you guys.

I only want to render simple text like "Hello World" on to my OpenTK gamewindow,that is all i want. So it there an easy solution for this?

Upvotes: 0

Views: 1811

Answers (1)

The Fiddler
The Fiddler

Reputation: 2794

The simplest approach (no shaders) is to use System.Drawing to render text into a Bitmap, and then display that Bitmap using OpenGL.

The TextRendering example shows how to do this using OpenGL 1.x.

Upvotes: 1

Related Questions