Rustacean Station  cover image

Presser with Gray Olson

Rustacean Station

00:00

How to Render Vector Graphics in Games?

In games, usually we don't directly render vector graphics. We first, quote unquote, rasterize them just into a texture, and then just draw the texture later because you have current algorithms for it. But traditionally, the method that we use instead is that GPUs are super highly optimized for triangles. So what we do is just rasterize the shape once into a texture,. And then just draw one or two triangles and sample the texture. It's sort of saying we only have to do this expensive operation once, and then we can just do the cheap operation many times.

Play episode from 15:58
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app