If Red Dead Redemption 2 is stuttering, showing odd graphics, crashing after a driver update, or displaying visual glitches, clearing its shader cache may help. Shader cache files store precompiled graphics data so the game can load effects more quickly. If those files become outdated or corrupted, the game may have trouble rebuilding or using them correctly.
Fortunately, clearing the RDR2 shader cache on a Windows PC is usually straightforward. You can remove the game’s own shader files, clear the graphics-driver cache, or clear Steam’s downloaded shader data. The game and driver will create fresh files when needed, though you may notice temporary stuttering while shaders are compiled again. Follow the steps below and use the least disruptive option that fits your issue.
What Is the RDR2 Shader Cache?
Shaders are small programs that control how graphics effects appear, including lighting, shadows, reflections, and water. Rather than compiling every shader from scratch each time you play, Red Dead Redemption 2 and your graphics driver can save compiled data in a cache. Reusing that data can reduce loading delays and help gameplay feel smoother.
A cache is not the same as a save file. Removing shader cache files should not erase Arthur Morgan’s story progress, online character, or screenshots. However, clearing the wrong folder could reset graphics settings or remove files you want to keep, so make sure you target only the cache files described here.
Before You Clear the RDR2 Shader Cache
Close Red Dead Redemption 2 completely before removing any files. Also exit the Rockstar Games Launcher, Steam, or Epic Games Launcher if you plan to clear launcher-related data. If the game appears closed but is still running in the background, open Task Manager and end the RDR2 process before continuing.
For added peace of mind, make a copy of the folder you intend to change. You can paste that copy somewhere safe, such as your desktop, and delete it later if everything works as expected. Avoid deleting the entire Red Dead Redemption 2 folder in Documents: it can contain configuration files and other data that are not part of the shader cache.
How to Clear the RDR2 Shader Cache on Windows
The first place to check is RDR2’s Settings folder in your Windows Documents directory. This is where the game commonly stores graphics-related files, including shader cache files with names beginning with “sga_.” Here is how to remove them:
- Close RDR2 and the launcher you use to start it.
- Open File Explorer and go to
Documents\Rockstar Games\Red Dead Redemption 2\Settings. - Look for files whose names begin with
sga_, such as files containing “vulkan” or “dx12” in the name. - Select only the
sga_files and delete them. If you are unsure, move them to a temporary backup folder instead. - Start the game again and allow it to rebuild the cache.
If your Documents folder is backed up or redirected through OneDrive, the folder may be under your OneDrive Documents location rather than directly under your Windows user folder. You can also paste %USERPROFILE%\Documents\Rockstar Games\Red Dead Redemption 2\Settings into File Explorer’s address bar and press Enter to check the usual location.
Do not delete system.xml unless you specifically want to reset graphics settings. That file stores configuration information, not simply shader cache data. Likewise, do not remove folders containing save data. If you do not see any files starting with sga_, skip this step rather than deleting unrelated files.
Clear the Windows DirectX Shader Cache
Windows also keeps a DirectX shader cache that may be relevant if you are playing with DirectX 12. You can clear it using Windows’ built-in storage tools. This method is preferable to manually hunting through system folders because Windows identifies the temporary cache for you.
- Open Settings from the Windows Start menu.
- In Windows 11, choose System, then Storage, and open Temporary files. In Windows 10, go to System and then Storage.
- Select DirectX Shader Cache if it appears in the list.
- Make sure you have not selected other items you intend to keep, then choose the option to remove the selected files.
- Restart your PC before launching RDR2 again.
Windows may take a little time to recreate shader data after you clear it. The first game session can therefore include longer loading or brief stutters. That is generally expected and should improve as you play and the cache is rebuilt.
Clear the Graphics Card Driver’s Shader Cache
NVIDIA and AMD graphics drivers can maintain their own shader caches. Clearing a driver cache may help when a problem continues after you remove the game’s sga_ files, especially if the issue began after updating or reinstalling your graphics driver. Close the game and launcher first, then use the appropriate method for your graphics card.
NVIDIA: Use Windows Storage settings to remove the DirectX Shader Cache when available. Depending on your driver version, NVIDIA may also store cache data in locations such as %LOCALAPPDATA%\NVIDIA\DXCache or %LOCALAPPDATA%\NVIDIA\GLCache. If you choose to clear these folders manually, close games and graphics applications first and remove only their contents—not the parent folders or unrelated NVIDIA files. Some locations may be hidden or may not exist on your PC.
AMD: AMD Software: Adrenalin Edition includes a shader cache reset option on supported versions. Open the application and look in its graphics or gaming settings for Reset Shader Cache. The setting’s location can vary between versions. You may also see an AMD cache folder under %LOCALAPPDATA%\AMD; use AMD’s software option when available rather than deleting unfamiliar folders manually.
Intel: If RDR2 is using Intel graphics, cache management options vary by driver and system. Start with Windows’ DirectX Shader Cache cleanup and the game-specific cache steps above. Avoid removing driver files from Windows system folders.
Do not clear several different caches at once unless you have a reason to do so. Start with the game’s sga_ files, test RDR2, and then try the Windows or driver cache if the issue remains. This makes it easier to identify what helped.
Clear RDR2 Shader Data in Steam or Epic Games
Steam can download and store shader data for supported games. If you play RDR2 through Steam, its cache may be stored in a folder named for the game’s Steam app ID, 1174180, inside the Steam library’s steamapps\shadercache folder. For example, a typical location is C:\Program Files (x86)\Steam\steamapps\shadercache\1174180, but your library may be on another drive.
To clear it, exit Steam completely, open the relevant Steam library folder, and remove the contents of the 1174180 shader-cache folder. If Steam recreates or downloads shader data when you launch the game, let the process finish before judging performance. You can also review Steam’s shader pre-caching options in its settings; the wording and location can change with Steam updates. Do not delete the game’s installation folder or the entire steamapps directory.
Epic Games Launcher generally does not provide a simple RDR2-specific shader-cache reset button. Start with the game’s sga_ files and Windows or driver cache. If you troubleshoot launcher problems, use Epic’s official support instructions for its web cache rather than removing random folders from the launcher’s installation directory. Launcher web cache and graphics shader cache are different things.
What Happens After You Clear the Cache?
RDR2 will recreate shader data as it starts and as you explore areas and encounter visual effects. The first launch may take longer, and the game might stutter briefly while it compiles shaders. This is usually temporary. Play for a little while, then restart the game and check whether performance or graphics have improved.
If the game crashes during this process, do not repeatedly delete every graphics-related file. Restart your PC, confirm that your graphics driver is current and stable, and allow the game time to compile its shaders. If the problem began immediately after a driver update, installing a newer stable driver—or rolling back to the previous one—may be more effective than repeatedly clearing the cache.
Does Clearing the Cache Delete RDR2 Saves?
Clearing only shader cache files should not delete story-mode saves or Red Dead Online progress. Your local save and configuration files are separate from shader data, but the contents of the Documents folder can vary by setup. For that reason, avoid deleting the entire Red Dead Redemption 2 folder or the whole Settings folder when your goal is only to clear shaders.
If you are uncertain about a file, leave it in place or make a backup before changing anything. You can also use the launcher’s file verification feature to repair game installation files if you suspect they are damaged. File verification is different from clearing the shader cache and should not normally remove your personal saves.
Can You Clear the RDR2 Shader Cache on Consoles?
On PlayStation and Xbox, players generally cannot browse to and delete RDR2’s shader cache as they can on a Windows PC. Console cache handling is managed by the system. If you are troubleshooting a console version, fully quit the game, restart the console, and install any available system and game updates. A full power cycle may also help with temporary system issues, but it is not the same as manually clearing a PC shader cache.
Do not uninstall the game as a first step unless other troubleshooting has failed. Reinstalling can take considerable time and may not address a temporary graphics issue. Check your platform’s official support guidance before using reset or storage-management options.
When Should You Clear the RDR2 Shader Cache?
Clearing the cache is most useful when you see persistent visual glitches, unusual stuttering that appeared after a graphics driver change, or crashes that seem related to shader compilation. It can also be a reasonable troubleshooting step after changing between Vulkan and DirectX 12, since the game may need to generate fresh graphics data for the selected API.
It is not a routine maintenance task. A working cache can improve loading and reduce repeated shader compilation, so deleting it regularly may make the game stutter more often without solving anything. If RDR2 runs normally, leave the cache alone.
Frequently Asked Questions
Will RDR2 rebuild the shader cache automatically? Yes. The game, Windows, and your graphics driver can generate new shader data after the relevant cache files are removed. The first session may be slower while that happens.
Should I clear the cache after every driver update? Usually, no. Try it if you encounter a new graphics problem after updating, but there is no need to clear shader data after every routine driver installation.
Is deleting the sga_ files safe? It is generally safe when the game is closed and you remove only the shader cache files in RDR2’s Settings folder. Back them up if you are unsure, and do not delete system.xml or other files just because they are nearby.
Conclusion
To clear the RDR2 shader cache on Windows, close the game and remove only the sga_ files from Documents\Rockstar Games\Red Dead Redemption 2\Settings. If that does not fix the problem, clear the Windows DirectX Shader Cache or use your graphics driver’s supported reset option. Steam players can also remove the game’s shader data from Steam’s cache folder. Keep saves and configuration files untouched, then give RDR2 time to rebuild its shaders before evaluating performance.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.