1 Replies - 4926 Views - Last Post: 27 April 2012 - 01:37 AM Rate Topic: -----

#1 ModusPwnens  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 16
  • Joined: 16-September 10

Best way to display text with Directx 11?

Posted 26 April 2012 - 06:22 PM

What is the best way to create text using directx 11? It seems like there is no straight-forward way of doing it. I was following this tutorial:


and I was able to get it up and running. However, performance goes from 900FPS (our game is still in its infant stages right now) to about 400FPS. On top of that, for about the first 10 seconds or so, FPS is stuck at around 100, before going up to 400.

Is there a better way of displaying text that doesn't have this kind of performance hit?

Is This A Good Question/Topic? 0
  • +

Replies To: Best way to display text with Directx 11?

#2 stayscrisp  Icon User is offline

  • フカユ
  • member icon

Reputation: 1037
  • View blog
  • Posts: 4,305
  • Joined: 14-February 08

Re: Best way to display text with Directx 11?

Posted 27 April 2012 - 01:37 AM

Your best bet is to use bitmap fonts. Most built in text functions are performance hogs so it is best to write your own text renderer utilising what the API you are using is good at. And one thing DX11 is definitely good at is texturing quads :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1