How does Skyrim manage textures in VRAM? I'll explain...

Post » Fri Oct 24, 2014 5:36 am

How does the Skyrim engine deal with applying the same texture to multiple objects? Does it load the texture into VRAM and apply it to multiple models, or does it re-load the same texture every time?

I'm specifically wondering about body models in this case. You have the body, hands, feet, and head as separate meshes, with their own textures. However, the feet use the entire body texture, but have only one corner defined by the UV unwrap. Does this mean the feet object are loading the entire body texture a second time just to render? I would imagine that would be horribly inefficient, but who knows.

It's something that I've been curious about since I started making textures, and can't find a definitive answer. Memory monitoring tests when spawing NPCs have been inconclusive since I can't really track what memory blocks are using what.

Thanks!

User avatar
GPMG
 
Posts: 3507
Joined: Sat Sep 15, 2007 10:55 am

Return to V - Skyrim