cemu_graphic_packs/Mods/BreathOfTheWild_DistantFogRemoval/Botw_DistantFog/rules.txt
Crementif 306da0b802
Update every graphic pack to V4
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
2019-11-29 04:36:05 +01:00

338 lines
5.1 KiB
Plaintext

[Definition]
titleIds = 00050000101C9300,00050000101C9400,00050000101C9500
name = Distant Area Fog Pack
path = "The Legend of Zelda: Breath of the Wild/Mods/Distant Fog Removal/Distant Fog - Main"
description = Can Remove Distant Fog Haze from the world. Change its RGB color. Light up the Distance.
version = 4
[Preset]
name = Fog 0% Light x1
$distantlighting = 1
$dred = 0
$dgreen = 0
$dblue = 0
$greenerylighting = 1
$gred = 0
$ggreen = 0
$gblue = 0
$waterfogred = 0
$waterfoggreen = 0
$waterfogblue = 0
[Preset]
name = Fog 0% Light x2
$distantlighting = 2
$dred = 0
$dgreen = 0
$dblue = 0
$greenerylighting = 2
$gred = 0
$ggreen = 0
$gblue = 0
$waterfogred = 0
$waterfoggreen = 0
$waterfogblue = 0
[Preset]
name = Fog 0% Light x4
$distantlighting = 4
$dred = 0
$dgreen = 0
$dblue = 0
$greenerylighting = 4
$gred = 0
$ggreen = 0
$gblue = 0
$waterfogred = 0
$waterfoggreen = 0
$waterfogblue = 0
[Preset]
name = Fog 0% Light x8
$distantlighting = 8
$dred = 0
$dgreen = 0
$dblue = 0
$greenerylighting = 8
$gred = 0
$ggreen = 0
$gblue = 0
$waterfogred = 0
$waterfoggreen = 0
$waterfogblue = 0
[Preset]
name = ----------------------------------------
$distantlighting = 1
$dred = 1
$dgreen = 1
$dblue = 1
$greenerylighting = 1
$gred = 1
$ggreen = 1
$gblue = 1
$waterfogred = 1
$waterfoggreen = 1
$waterfogblue = 1
[Preset]
name = Fog 10% Light x1
$distantlighting = 1
$dred = 0.1
$dgreen = 0.1
$dblue = 0.1
$greenerylighting = 1
$gred = 0.1
$ggreen = 0.1
$gblue = 0.1
$waterfogred = 0.1
$waterfoggreen = 0.1
$waterfogblue = 0.1
[Preset]
name = Fog 10% Light x2
$distantlighting = 2
$dred = 0.1
$dgreen = 0.1
$dblue = 0.1
$greenerylighting = 2
$gred = 0.1
$ggreen = 0.1
$gblue = 0.1
$waterfogred = 0.1
$waterfoggreen = 0.1
$waterfogblue = 0.1
[Preset]
name = Fog 10% Light x4
$distantlighting = 4
$dred = 0.1
$dgreen = 0.1
$dblue = 0.1
$greenerylighting = 4
$gred = 0.1
$ggreen = 0.1
$gblue = 0.1
$waterfogred = 0.1
$waterfoggreen = 0.1
$waterfogblue = 0.1
[Preset]
name = Fog 10% Light x8
$distantlighting = 8
$dred = 0.1
$dgreen = 0.1
$dblue = 0.1
$greenerylighting = 8
$gred = 0.1
$ggreen = 0.1
$gblue = 0.1
$waterfogred = 0.1
$waterfoggreen = 0.1
$waterfogblue = 0.1
[Preset]
name = ----------------------------------------
$distantlighting = 1
$dred = 1
$dgreen = 1
$dblue = 1
$greenerylighting = 1
$gred = 1
$ggreen = 1
$gblue = 1
$waterfogred = 1
$waterfoggreen = 1
$waterfogblue = 1
[Preset]
name = Fog 30% Light x1
$distantlighting = 1
$dred = 0.3
$dgreen = 0.3
$dblue = 0.3
$greenerylighting = 1
$gred = 0.3
$ggreen = 0.3
$gblue = 0.3
$waterfogred = 0.3
$waterfoggreen = 0.3
$waterfogblue = 0.3
[Preset]
name = Fog 30% Light x2
$distantlighting = 2
$dred = 0.3
$dgreen = 0.3
$dblue = 0.3
$greenerylighting = 2
$gred = 0.3
$ggreen = 0.3
$gblue = 0.3
$waterfogred = 0.3
$waterfoggreen = 0.3
$waterfogblue = 0.3
[Preset]
name = Fog 30% Light x4
$distantlighting = 4
$dred = 0.3
$dgreen = 0.3
$dblue = 0.3
$greenerylighting = 4
$gred = 0.3
$ggreen = 0.3
$gblue = 0.3
$waterfogred = 0.3
$waterfoggreen = 0.3
$waterfogblue = 0.3
[Preset]
name = Fog 30% Light x8
$distantlighting = 8
$dred = 0.3
$dgreen = 0.3
$dblue = 0.3
$greenerylighting = 8
$gred = 0.3
$ggreen = 0.3
$gblue = 0.3
$waterfogred = 0.3
$waterfoggreen = 0.3
$waterfogblue = 0.3
[Preset]
name = ----------------------------------------
$distantlighting = 1
$dred = 1
$dgreen = 1
$dblue = 1
$greenerylighting = 1
$gred = 1
$ggreen = 1
$gblue = 1
$waterfogred = 1
$waterfoggreen = 1
$waterfogblue = 1
[Preset]
name = Fog Red x4 Light x4
$distantlighting = 4
$dred = 4
$dgreen = 0
$dblue = 0
$greenerylighting = 1
$gred = 0
$ggreen = 0
$gblue = 0
$waterfogred = 0
$waterfoggreen = 0
$waterfogblue = 0
[Preset]
name = Fog Blue x4 Light x4
$distantlighting = 4
$dred = 0
$dgreen = 0
$dblue = 4
$greenerylighting = 4
$gred = 0
$ggreen = 0
$gblue = 0
$waterfogred = 0
$waterfoggreen = 0
$waterfogblue = 0
[Preset]
name = ----------------------------------------
$distantlighting = 1
$dred = 1
$dgreen = 1
$dblue = 1
$greenerylighting = 1
$gred = 1
$ggreen = 1
$gblue = 1
$waterfogred = 1
$waterfoggreen = 1
$waterfogblue = 1
[Preset]
name = Original
$distantlighting = 1
$dred = 1
$dgreen = 1
$dblue = 1
$greenerylighting = 1
$gred = 1
$ggreen = 1
$gblue = 1
$waterfogred = 1
$waterfoggreen = 1
$waterfogblue = 1
[Preset]
name = Custom Preset
$distantlighting = 2
$dred = 0.1
$dgreen = 0.1
$dblue = 0.1
$greenerylighting = 2
$gred = 0
$ggreen = 0
$gblue = 0
$waterfogred = 0
$waterfoggreen = 0
$waterfogblue = 0
# Information
# by SkalFate
# ----------------------
# Distant lighting - is for distant area lighting of the land and how far in the distance everything is lit up
# ------ 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
# Greenery lighting - is the same as above but for trees vines, bushes
# ------ 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
# RGB - Red, Green, Blue - is self explanatory for the color of the fog, trees, water.
# ------ 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