Get the latest tech news

Shipping textures as PNGs is suboptimal


Are you shipping textures to players as PNGs? The goal of this post is to convince you that this is suboptimal, and walk you through a better approach.

This trades mild degradation of image quality for improvements in storage, VRAM usage, and sampling performance. This sorta makes sense–image viewers are typically designed to show a single image, whereas a texture may be comprised of multiple mipmaps and cubemap faces and such, and may be HDR. I’ll probably write a follow up post describing my strategy for automating this at some point in the future, but if you want a sneak peak, check out Oven.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of games

games

Photo of pngs

pngs

Related news:

News photo

Xbox confirms three games leaving Game Pass in September

News photo

Performance woes in Unreal Engine 5 games are developers' fault, says Tim Sweeney

News photo

Steam Users in the UK Will Need a Credit Card To Access 'Mature Content' Games