this post was submitted on 07 Sep 2023
434 points (93.9% liked)
PC Master Race
15058 readers
3 users here now
A community for PC Master Race.
Rules:
- No bigotry: Including racism, sexism, homophobia, transphobia, or xenophobia. Code of Conduct.
- Be respectful. Everyone should feel welcome here.
- No NSFW content.
- No Ads / Spamming.
- Be thoughtful and helpful: even with ‘stupid’ questions. The world won’t be made better or worse by snarky comments schooling naive newcomers on Lemmy.
Notes:
- PCMR Community Name - Our Response and the Survey
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I thought Megatextures were more to avoid the tiled look of many textured landscapes at the time. The idea that the artists can zoom into any point and paint what they need without worrying that it will then appear somewhere else on the map.
Looking around, some people seem to think they were replaced by virtual texturing, but I've been out the loop for a long time so haven't really kept up with what that is. I assume it allows much the same, but far more efficient than a giant texture map. Death Stranding is an example that must use something similar, because as you move about you wear down permanent paths over the landscape.
Right I think I got confused. The megatexture is a huuuuge single texture covering the entire map geometry. It has a ridiculous size (at the time of Rage, it was 32,000 by 32,000). It also holds data for which bits should be treated as what type of terrain for footprints etc.
The problem with this approach is it eats a shit ton of RAM, which the 7th gen consoles didn't have much of. Thus the only high quality textured that were loaded in were the ones the player could see, and loaded out when the player couldn't.
Megatextures are used in all IdTech games since, but because they weren't open world and/or targeted 8th gen consoles and later, with much more RAM, unloading the textures isn't necessary.
Whatever code they used to "unload" the texture was also kept for PC, because the same thing happened there. This would have been on an ATI 5870 that I played that. At least double the VRAM of any console at the time.
Man, remember when flagship GPUs were £300? Wtf happened to those days...
Heh. Good times.
Such a shame poor PC optimisation was what we kept instead of affordable cards.