User Agents

Web browsers and everyday web tech, explained

How to Clear Call of Duty Shader Cache on Steam

· 5 min read · Cookies and Cache

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Clearing the Call of Duty shader cache on Steam helps resolve graphical glitches, long load times, stuttering, or crashes caused by corrupted or outdated shader data. Shaders are small programs that control how light, textures, and effects appear in the game. Over time, accumulated shader files can become incompatible or damaged, especially after game or GPU driver updates. Clearing the cache forces the game to rebuild these files fresh, often improving performance and visual stability. Before proceeding, ensure the game is fully closed and not running in the background, and consider restarting your PC to prevent file access issues.

What You'll Need

  • Access to your Steam account and the Call of Duty title installed
  • Administrative access to your PC (required to delete certain files)
  • Basic familiarity with navigating the Windows file system
  • Optional: Note of your current in-game graphics settings (to restore if needed)

Step-by-Step

  1. Close Steam completely. Right-click the Steam icon in the system tray (near the clock) and select “Exit.” Do not just close the window—ensure Steam is not running in the background.
  2. Open File Explorer and navigate to the Steam userdata folder. The default path is: C:\Program Files (x86)\Steam\userdata. If you installed Steam in a different location (e.g., D:\Steam), go to that directory instead.
  3. Identify your Steam user folder. Inside the userdata folder, you’ll see one or more numbered folders (e.g., 12345678). These correspond to Steam user accounts. Find the folder matching your Steam ID—usually the one with recent activity. You can confirm by checking subfolders for recognizable game data.
  4. Navigate into your user folder, then locate the folder corresponding to the Call of Duty title you’re troubleshooting. For example:
    • Modern Warfare (2019): 1152950
    • Warzone: 2015150
    • Black Ops Cold War: 1396040
    • Modern Warfare II (2022): 1938090
    • Modern Warfare III (2023): 2133870
    If unsure, open each folder and look for a “local” or “shader” directory.
  5. Enter the game-specific folder and look for a folder named shadercache, shaders, or dxr_cache. The exact name varies by title and GPU. For example, AMD systems may use amdfshc, while NVIDIA uses nvdxcache.
  6. Delete the shader cache folder. Right-click the folder and select “Delete.” If prompted for administrator permission, confirm the action. This removes all compiled shaders—safe, as they will regenerate.
  7. Also clear the game’s local save folder (optional but recommended). Return to the game’s folder under userdata and delete the local folder. This resets saved settings and cache files, often resolving deeper issues.
  8. Restart your computer. This ensures no residual processes lock game files and allows Windows and GPU drivers to reset properly.
  9. Launch Steam and the game. When you start Call of Duty, it will detect missing shaders and begin rebuilding them. This may take several minutes and cause choppiness during early gameplay—this is normal.
  10. Allow the game to finish shader compilation. Play through a few matches or stay in a stable environment (like the main menu or barracks) to let shaders compile fully. Avoid quitting mid-process.

Common Mistakes

  • Not closing Steam completely: If Steam is still running, files may be locked, preventing deletion.
  • Deleting the wrong folder: Removing folders like config or saves can erase progress. Only delete shadercache, dxr_cache, or local if intended.
  • Clearing shader cache while the game is running: This causes file conflicts and may corrupt data.
  • Skipping the reboot: Some GPU drivers cache data in memory; a restart ensures a clean state.
  • Expecting instant results: Shader rebuilding takes time. Performance may worsen before improving.

Tips

  • Check your GPU driver settings: NVIDIA and AMD control shader caching separately. In GeForce Experience or AMD Software, disable “Shader Cache” temporarily if issues persist.
  • Verify game files after clearing cache: In Steam, right-click Call of Duty > Properties > Installed Files > “Verify Integrity of Game Files” to ensure no core files are missing.
  • Update GPU drivers: Always use the latest WHQL-certified drivers from NVIDIA, AMD, or Intel for optimal shader performance.
  • Monitor disk space: Shader caches can grow large (5–20 GB). Ensure your SSD has free space for efficient rebuilding.
  • Use a dedicated SSD: NVMe drives significantly speed up shader compilation compared to HDDs.

Troubleshooting

If the game fails to rebuild shaders or crashes on launch:

  • “Access Denied” when deleting: Run File Explorer as administrator. Right-click File Explorer > “Run as administrator,” then attempt deletion.
  • Game won’t launch after cache clear: Verify game files in Steam. Corrupted or missing files may prevent startup.
  • Shader compilation loops endlessly: Update your GPU driver. Outdated drivers may fail to compile modern DirectX 12 or ray tracing shaders.
  • Performance still poor after rebuild: Reset in-game graphics settings to default. Misconfigured settings can mimic cache issues.
  • No shader folder found: Some versions store cache in C:\Users\[YourName]\AppData\Local\Call of Duty. Enable hidden files in File Explorer and check there.
  • Steam cloud sync overwrites settings: Disable cloud sync temporarily in Steam > Properties > General > “Keep game progress in the cloud.”

Frequently Asked Questions

Does clearing shader cache delete game progress?

No. Shader cache files are temporary graphics data. Your saves, unlocks, and stats are stored separately and remain safe.

How often should I clear the shader cache?

Only when experiencing graphical issues or after major GPU driver updates. Routine clearing is unnecessary and causes repeated compilation delays.

Will this fix low FPS?

It may help if low FPS is caused by shader stutter. However, true performance issues are more likely due to settings, drivers, or hardware limits.

Can I clear shader cache without reinstalling?

Yes. Clearing the shader folder is non-destructive and does not require reinstalling the game.

Where is the shader cache stored for Warzone specifically?

In Steam\userdata\[YourID]\2015150\shadercache or dxr_cache. If not there, check AppData\Local\Treyarch\Warzone.

Does this work for all Call of Duty titles on Steam?

Yes, the method applies to all Steam-based Call of Duty games, including Modern Warfare, Warzone, and Black Ops titles.