mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2025-01-22 14:41:15 +01:00
306da0b802
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 $basefogopacity = 1 $basefogred = 3 $basefoggreen = 1 $basefogblue = 2 # (basefogopacity) = Fog Transparency/Opacity - how thick you want the Hyrule Castle Base Fog to look # ------ 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] # (basefogred, basefoggreen, basefogblue ) = RGB - Red, Green, Blue - Changes the color of the Hyrule Base 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]