Game dev
Saved & recent

Virtual texturing

Related terms: texture pages, tile cache, residency, mipmaps

Splitting large textures into small tiles, often called pages, and keeping the needed tiles in a limited memory cache. When the camera sees only one corner of a huge surface, the renderer can request detailed tiles for that corner instead of loading an entire high-resolution mip level.

This can reduce GPU memory use for large environments. Tiles still have to arrive and fit in the cache: rapid camera movement or too little cache space can reveal blurry areas while detail loads. Streaming virtual textures read tiles from storage; runtime virtual textures can generate their contents on the GPU.

Further reading
Epic Games
camera texture pages visible region page stream resident pages
In this streaming example, the surface lays out the virtual texture and the camera requests its four outlined pages. Matching patches fill a four-slot cache. The package is a conceptual cutaway with pages enlarged and arranged for comparison. Other pages are subdued for context; mip levels, page-table indirection and prefetching are omitted.

View in the full Game dev collection