mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-23 01:59:18 +01:00
549758507f
But now done properly! Basically, a bunch of improvements were made to the script. The previous attempt at this conversion was quickly followed by a rollback since I realized that the script was overlooking certain things that made most of the packs hit or miss whether they would work. A few things missing were: - It only tested the values from 1 preset. Now, each shader gets compiled per each preset, like what Cemu would do. It also merges the changes done for each preset into one. This should solve cases where one shader would define things separately or repeatedly from preset to preset. - All* of the shaders are tested to see if they use the converter used the right values for the locations for Vulkan. Both of these *should* mean that they should both compile and be linkable in Vulkan, which means that I don't have to test each individual shader to see if they work. I will release the two scripts (one used for converting, one used for checking the right values for the locations) tomorrow so that other people might be able to help, if they want. It's fairly straightforward now at least. * Organize workaround graphic packs Pretty hard to organize these correctly, but according to our discord discussion, this was the best layout from a bunch I proposed, together with some suggestions. * Add V4 converter script and instructions on how to use it Now everyone BotW is done and all of the bugs have been kinked out using it (hopefully...), here's the release of the converter script in all of it's very badly coded glory. I hope I didn't leave too much debug glory in there... Also, I hope that I didn't make too many grammatical mistakes in the instructions, but hopefully it's easy enough to follow.
338 lines
5.1 KiB
Plaintext
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 |