Suggestion: Precompilation of Shaders for Improved DX12 Performance

Hi team,

I’d like to suggest a feature that could significantly enhance the gameplay experience for Path of Exile 2, especially given its use of DirectX 12. Currently, there’s no precompilation of shaders at the start of the game, which can result in stuttering and performance dips as shaders are compiled during gameplay.

Proposal:
Implement an optional shader precompilation process during the game’s initial load. This could be achieved by creating a developer character that automatically:

Runs quickly through maps.
Kills mobs and activates league mechanics like breaches, rituals, and others.
Uses a variety of skills with explosions, effects, and other graphical events.
This process would simulate a wide range of scenarios, allowing a large portion of the game’s shaders to be compiled in advance. While this happens, players could see a loading screen indicating the progress.

Benefits:
Reduced Stuttering: By compiling shaders beforehand, we minimize mid-game computation and ensure smoother gameplay.
Optional Setting: Players with powerful systems or those who prefer faster game launches could choose to skip this step. (note usually this only needs to run once and stores the shaders unless the gpu or cpu changes or patches to Visual/Particle effects occur and other related effects)
Improved Experience: Particularly for players with slower CPUs or GPUs, precompiled shaders would reduce in-game lag spikes during heavy combat scenes.
Additionally, I’d suggest increasing the shader cache size significantly, as the current cache seems insufficient for the game’s demands. With the large variety of skills and mechanics, a more extensive cache would prevent shaders from being repeatedly compiled, further smoothing gameplay.

I believe these changes could make a noticeable difference in performance and overall player satisfaction. Thank you for considering this!
Last edited by NictorianRagnar#1017 on Jan 19, 2025, 5:24:41 AM
Last bumped on Jan 19, 2025, 5:19:23 AM

Report Forum Post

Report Account:

Report Type

Additional Info