- Aug 23, 2022
- 182
- 934
Do you know how to optimize the game? 32 DDR4 RAM and GTX 1080 8GB.Thanks, you may be onto something with those tweaks.
For those who don't understand what that does, here's a break down:
r.Streaming.FullyLoadUsedTextures=1
This tells the engine to fully load all textures that are used - the game will load all the details of a texture into memory before it's needed, rather than streaming it in dynamically. By doing this, the game is less likely to display textures at a reduced quality.
r.Streaming.LimitPoolSizeToVRAM=0
This command disables the engine's default behavior of limiting the texture pool size to match the available VRAM. When this is set to 0, it allows the game to use more texture memory than what is available in the VRAM. This might allow the game to maintain higher texture quality, but could also lead to swapping between system RAM and VRAM if the VRAM gets fully utilized, which might lead to stuttering.
r.Streaming.PoolSize=5000
This sets the size of the texture streaming pool, which is the amount of memory (in MB) set aside for texture streaming. By setting it to 5000, you're allocating 5GB of memory for texture streaming. This may reduce the need for the game to dynamically load textures, allowing it to maintain higher texture detail.
In addition to those, Unreal Engine should also support using system RAM for texture storage in a limited way with a feature called "Memory Budget Overshoot". This allows for some textures to spill over into system RAM when VRAM is exhausted.
[/Script/Engine.StreamingSettings]
s.MemoryMargin=500
s.MemoryBudgetOvershootLimit=2000
MemoryMargin is the amount of VRAM (in MB) Unreal will attempt to leave free. MemoryBudgetOvershootLimit is the maximum amount of system RAM (in MB) that can be used for texture streaming when VRAM is exhausted.
However, keep in mind that relying on system memory for texture storage is much slower than VRAM. It will most likely cause stuttering or lag in the game, becuause the data is moved back and forth between VRAM and RAM. It should only be used as a last resort. The best solution is always going to be having a GPU with sufficient VRAM for the game.