All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Understanding Virtual Texturing: Optimizing Graphics Memory for Visible Content

By

betamark

3mo ago· 74 min readenInsight

Summary

This technical article explains virtual texturing, a graphics rendering technique that optimizes memory usage by only loading texture data that is actually visible on screen. Using the example of Crash Bandicoot's development on the original PlayStation, the article contrasts traditional texture loading approaches (where all assets are loaded at level start) with virtual texturing's more efficient system that dynamically manages texture residency based on visibility. The article provides an end-to-end explanation of virtual texturing systems, covering addressing, feedback mechanisms, and residency decisions to optimize performance within constrained memory budgets.

Key quotes

· 4 pulled
Virtual texturing is not about supporting larger textures, but about aligning memory residency with what can actually be visible on screen.
Most PlayStation games followed a predictable path. Before each level the game loaded all the assets from the CD into memory. The budget was tiny: 2 MB of system RAM and 1 MB of VRAM.
This approach left performance on the table. During gameplay only a small portion of a level is ever visible.
In an interview discussing the development of Crash Bandicoot on the original PlayStation, Andy Gavin describes how the team rendered richer environments, higher-resolution textures, and smoother animation than any other game on the platform at the time.
Snippet from the RSS feed
Virtual texturing is not about supporting larger textures, but about aligning memory residency with what can actually be visible on screen. This article explains the system end-to-end, from addressing to feedback and residency decisions.

You might also wanna read