r/explainlikeimfive • • May 21 '19

Technology ELI5: Why do some video game and computer program graphical options have to be "applied" manually while others change the instant you change the setting?

9.0k Upvotes

355 comments sorted by

View all comments

55

u/dietderpsy May 21 '19

I am no expert so correct me if I am wrong.

Certain physical assets such as textures may be loaded from a file so we first remove the old texture and replace it with a new one.

Other things are calculated like shadows, so if we apply a more complex algorithm we can get a nicer shadow, we can calculate this on the fly without loading any assets.

23

u/wightwulf1944 May 21 '19

Though reloading textures can be done without quitting the program, it's just easier to reload everything at once.

5

u/jld2k6 May 21 '19 edited May 21 '19

The Tomb Raider games are one of the few I can think of where you change textures and it actually pulls the old ones and replaces them with the new ones immediately with a loading bar at the top. Always thought that was preferable to restarting the entire game, especially if you're in mid play out in the world somewhere. That's just my personal opinion of course. It might even be faster to just reboot with the game now that I'm on an nvme SSD but I haven't thought to try that out

0

u/[deleted] May 21 '19

who said anything about quitting the program?

0

u/[deleted] May 21 '19

[deleted] — view deleted comment

1

u/morerokk May 21 '19

Depends. The shadow maps you speak of are called "lightmaps" in Unity. They are textures like any other and cost almost nothing to use, in terms of performance. The quality of these shadow maps is generally dictated by the texture quality.

Shadow quality options are most often used for realtime shadows, as these can get quite expensive.

2

u/uhrguhrguhrg May 22 '19

You are confusing shadow maps and baked shadows.

The first one is using a texture as a buffer to store information about the light source to calculate what is lit up and what isn't. (It essentially requires a scene re-render, which is expensive).

The second one is a pre-calculated modification to your usual textures.