Skip to content
0:00 / 0:00

#textrendering#batching#stb_truetype

Efficient text rendering and Batching in Game Graphics Development

Dzima

5.1K subscribers • 3 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Dima, indie game developer
  • Linked in the descriptiongorevojd/Flowernothings/stb

Intermediate. Assumes working knowledge.

9K views5 years ago1 recommendation

Graphics and audioGame developmentRenderingPerformance and optimizationGame programming

Dima explains how to implement efficient text rendering using texture atlases, batching, and libraries like stb_truetype.

Hi everyone! In this video I explain how to implement efficent text/font rendering. Here we talk about loading fonts, what font information usually contains, how to use it to draw fonts as well as what is kerning. I give a 2 reasons of why text rendering can be slow and how to fix the causing problems by using texture atlases and Batching. Also I show how I extended ui shader to print text in 3D world. I hope you'll enjoy it. Thank you! Support the development of these videos on my Patreon: patreon.com/gorevojd Visit my twitch channel: twitch.tv/gorevojd You can find source code for this episode here: github.com/gorevojd/Flower/tree/main/EP4_EfficientTextRender… Freetype library: freetype.org/ STB libraries: github.com/nothings/stb/ Hi everyone! My name is Dima and I'm an Indie Game Developer. I started to code and create games in 2013. I have a huge experience in GameDev, such as 3D modeling, animation, programming, game design. I create these videos to help you know more about creating games and to show that we can create a lot of beautiful things with coding. Thank you!

Why it's here

1 person recommends this

What people say. Recommended as a helpful guide on implementing efficient text rendering and batching in custom game engines.

u/queenguinin r/gameenginedevs • Recommends

…ther so that you don't need to worry about that. To load the font information, I'm using Sean Barrett's stb\_truetype.h single header library: https://github.com/nothings/stb/blob/master/stb\_truetype.h You need to include this header file in order to use this library. Watch this guy's video to learn more about the text rendering method I used: [video Completely public domain you can do whatever you want with it. Just don't sue me.…