Horizon Zero Dawn™ Complete Edition

Horizon Zero Dawn™ Complete Edition

View Stats:
This topic has been locked
lorul1 Aug 7, 2020 @ 6:11pm
I Found A Texture Fix ! How To Recompile Shaders (Tutorial)
Are you experiencing flickering lighting, textures, or water, like I did ? here's a possible fix that I used to made the issue go away :

There is a folder in the Horizon Zero Dawn game folder called “LocalCacheDX12” , this is where the shaders are located.

To access this you can navigate to
C:\Program Files (x86)\Steam\steamapps\common\Horizon Zero Dawn\LocalCacheDX12
(an alternate way to access this file is to go to your steam library, right mouse click the game, then click properties, then click local files, then browse local files.)


within the "LocalCacheDX12" folder there is a file called "PSOCache.bin" . I believe these are the shaders, which compile the first time you start the game, or after a driver update. (its that long load screen when you first start the game)

The issue is that sometimes this long loading process that happens the first time you start the game can be incomplete or interrupted. So if you are noticing weird textures or flickering water or lighting you probably need to force the game to recompile the shaders ! Here's how you do it :

simply move this "PSOCache.bin" file from the "LocalCacheDX12" folder to your desktop and when you start the game again it will recompile the shaders, it will do the long loading again and generate a new (and much bigger) PSOCache.bin ( in the LocalCacheDX12 folder ) . Try not to touch anything while the long loading process is happening.
(If anything goes wrong you can always move that .bin file back into the "LocalCacheDX12" folder from your desktop. If you notice that everything is as it should be in game, then you can safely delete the "PSOCache.bin" file from your desktop)

Currently there is no way for the game itself to delete this "PSOCache.bin" file and then recompile the shaders.
Hopefully Guerilla can add a button to do this in the settings with an "are you sure prompt" or something in the future.

If this helped you out, like it did for me, leave a comment so that other people can see this and get help ! If this is helping a lot of people, then hopefully a steam moderator will see this and pin it temporarily until Guerilla fixes the shader compilation issues. This might also improve performance however this is untested.

Hope this helps (:
< >
Showing 1-15 of 25 comments
DeckForEver! Aug 7, 2020 @ 6:14pm 
I'll give this a try tmz mate thanks for taking the time, I've been having gltiches hopefully this works! Cheers
lorul1 Aug 7, 2020 @ 6:24pm 
Originally posted by william.lemoyne:
I'll give this a try tmz mate thanks for taking the time, I've been having gltiches hopefully this works! Cheers
I hope it works well for you too ! report back here if it works for you
Yona™ Aug 7, 2020 @ 6:33pm 
how big is your PSOCache.bin? my is 944mb
Last edited by Yona™; Aug 7, 2020 @ 6:36pm
lorul1 Aug 7, 2020 @ 6:38pm 
mine is 799mb for now, the further you get in the game the larger this file will become if you need to recompile
zboy2106 Aug 7, 2020 @ 6:43pm 
"Currently there is no way for the game itself to delete this "PSOCache.bin" file and then recompile the shaders."

Yes, it can. You just need to change your VGA or simply update it driver. With later case will be happend A LOT of time I assume.
Pandemonium Aug 8, 2020 @ 2:13am 
This has worked for me
Cake Aug 8, 2020 @ 4:29pm 
Oh, it worked for me, it fixed around 70% of the weird textures.
Thanks!
DRAGONSWORD Aug 8, 2020 @ 6:58pm 
Just tried it and it worked, thanks a lot. I also found that the resolution that I picked wasn't setting first time, if you have the same problem try changing to windowed mode then back to fullscreen, it worked for me.
Freegris Aug 12, 2020 @ 5:18am 
just to confirm you that uninstall and install the game, fix all problems. Glitch and texture problems show up after update gpu drivers..so finally we have understood that the problem is the shaders....The game now works as a charm with my evga 2080ti. Very great game. thank you
RjeyForteFev Aug 12, 2020 @ 5:32am 
Okay I gonna do this. Thanks i hope this is the fix.
RainbowPanda Aug 14, 2020 @ 3:39pm 
I tried this and since Horizon chrashes on startup and the "pdocache.bin" file is missing.
i have tried reinstalling but it is still missing.
Does anyone know why this could is happening
DRAGONSWORD Aug 15, 2020 @ 7:53am 
Originally posted by RainbowPanda:
I tried this and since Horizon chrashes on startup and the "pdocache.bin" file is missing.
i have tried reinstalling but it is still missing.
Does anyone know why this could is happening
It should be there, remember it's located at steamapps/common/horizon zero dawn/localcacheDX12. I think however that the file is probably created when you start up the game the first time, there's a long loading screen you have to wait for, the shaders are installed during the wait, if you haven't got this far yet, then that's the reason you don't have the file.
Dervart Aug 17, 2020 @ 4:31am 
Yes it worked. I changed the video card after the introductory chapter. The game compiled shaders automatically, but the textures were very strange in some places. I thought the same way, restart compilation again, but did not find such an option. And I did not know what exactly the correct file to delete to restart the process. Thanks, helped a lot!
EbonHawk Oct 1, 2020 @ 10:58am 
Helped get rid of about 97% of the flickering, but still have a few things that seem to not ever want to go away.

Thanks! (97% is better than the 0% I was getting before.)
Fry McFly May 27, 2022 @ 1:20am 
I don't have any PSOCache.bin in the folder!
There are the following bin files:
HashDB.bin
ShaderLocationDB.bin
UserHashDB.bin
And that's it!!
Last edited by Fry McFly; May 27, 2022 @ 1:20am
< >
Showing 1-15 of 25 comments
Per page: 1530 50

Date Posted: Aug 7, 2020 @ 6:11pm
Posts: 25