0 filer liked
8 kommentare
0 videoer
1 upload
0 følgere
1.477 downloads
@whocares Message me on discord: Genesis#1753
@InfamousSabre Sorry updated. :)
These unpacked shaders can be decompiled with the following tool:
https://github.com/etnlGD/HLSLDecompiler
Warning: It doesn't handle samplers correctly, so any shader with a decompiled sampler will not repack correctly.
I have successfully decompiled the source of the first water vertex shader, recompiled it with visual studio 2019, and patched it back into the game. I was able to then load that shader in game without crashing. (First successful shader replacement?)
Unfortunately patching is messy and replacing the shaders requires the same exact bindings being recreated from the original. With this water shader there was no sampler, so it was easy. For that reason I can't release a tool to patch shaders in just yet, because it wouldn't support most of them.
I don't understand HLSL code very well (how each function actually contributes to the end product really) so I may be missing something simple.
@whocares See the description for which program is capable of opening these shaders for viewing. This tool specifically unpacks them so they can be decompiled. (A quick google search should put you in the right direction). The github project has a nuget package so VS2017 nuget manager should help install dependencies quickly.
@FakePewDiePie I wasn't aware, thanks for letting me know, Ill keep this up just in case someone else doesn't find that one.
@DayL Yes it is possible to make new custom shaders, however there isn't a way to install/repack them yet.
@marculu Its a tool for developers. Having the shaders unpacked and decompiled will allow them to make new ones without needing something like reshade.