mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2025-02-22 12:47:10 +01:00

Since it's not possible to update 300+ shaders manually and automation was possible, I thought that I'd take the honor and create a script that's able to automatically convert all of the shaders to be cross-compatible with Vulkan. And change the graphic pack versions to version 4 of course. Also, the script has some nifty testing code which compiled every shader as OpenGL and Vulkan, but for that see the details that I've written below. **Here's the script that I've made to do all of this. No manual edits were needed:** https://gist.github.com/Crementif/8d98a855b95f219d95298fb3db99deae
# Information # by SkalFate # ---------------------- Example Preset : // Changing it here doesn't do anything, this is for demonstration. Change it in rules.txt file instead. [Preset] name = Custom Preset $npcfogred = 1 $npcfoggreen = 1 $npcfogblue = 1 # (npcfogred, npcfoggreen, npcblue ) = RGB - Red, Green, Blue - Changes the color of distant npcs fog. # ------ Values are multiplied so if you want to lower use [0.01 - 1.0], or if you want to go higher go from [1.0 - X.X]