Select one of the following categories to start browsing the latest GTA 5 PC mods:
@whocares Message me on discord: Genesis#1753
@InfamousSabre Sorry updated. :)
These unpacked shaders can be decompiled with the following tool:
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.
@seanner Sorry for the wait, we are still working on a few last second updates, the OIV is still coming though!
@Wyzzer98 That sounds like the original weapon script, that script specifically was scrapped. The new realism script is currently undergoing testing on the discord. Ill bug mkeezay about posting a link to it here in the comments.
@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.
@Timmy85 Sorry for the late response, the weapon weight carry script was originally written for SHV. There were a lot of complaints about it so it was not included in the latest RPH version of the updated mod. If the public really liked this feature I can add it to the new RPH version as a toggle with the rest of the new scripts.