mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-23 16:31:50 +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.
74 lines
1.5 KiB
Plaintext
74 lines
1.5 KiB
Plaintext
[Definition]
|
|
titleIds = 00050000101C9300,00050000101C9400,00050000101C9500
|
|
name = Distant NPCs Fog Removal Pack
|
|
path = "The Legend of Zelda: Breath of the Wild/Mods/Distant Fog Removal/NPC Fog Removal"
|
|
description = Can Remove Fog from Distant NPCs. Conflicts with Cel-Shade ShadowFix Packs.
|
|
version = 4
|
|
|
|
|
|
[Preset]
|
|
name = Distant NPC Fog Disabled
|
|
$npcfogred = 0
|
|
$npcfoggreen = 0
|
|
$npcfogblue = 0
|
|
|
|
[Preset]
|
|
name = Distant NPC Fog 10%
|
|
$npcfogred = 0.1
|
|
$npcfoggreen = 0.1
|
|
$npcfogblue = 0.1
|
|
|
|
[Preset]
|
|
name = Distant NPC Fog 30%
|
|
$npcfogred = 0.3
|
|
$npcfoggreen = 0.3
|
|
$npcfogblue = 0.3
|
|
|
|
[Preset]
|
|
name = Distant NPC Fog Enabled
|
|
$npcfogred = 1
|
|
$npcfoggreen = 1
|
|
$npcfogblue = 1
|
|
|
|
[Preset]
|
|
name = ----------------------------------------
|
|
$npcfogred = 1
|
|
$npcfoggreen = 1
|
|
$npcfogblue = 1
|
|
|
|
[Preset]
|
|
name = Distant NPC Fog Red
|
|
$npcfogred = 2
|
|
$npcfoggreen = 0
|
|
$npcfogblue = 0
|
|
|
|
[Preset]
|
|
name = Distant NPC Fog Green
|
|
$npcfogred = 0
|
|
$npcfoggreen = 1
|
|
$npcfogblue = 0
|
|
|
|
[Preset]
|
|
name = Distant NPC Fog Blue
|
|
$npcfogred = 0
|
|
$npcfoggreen = 0
|
|
$npcfogblue = 1
|
|
|
|
[Preset]
|
|
name = ----------------------------------------
|
|
$npcfogred = 1
|
|
$npcfoggreen = 1
|
|
$npcfogblue = 1
|
|
|
|
[Preset]
|
|
name = Custom Preset
|
|
$npcfogred = 1
|
|
$npcfoggreen = 1
|
|
$npcfogblue = 1
|
|
|
|
# Information
|
|
# by SkalFate
|
|
# ----------------------
|
|
|
|
# (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] |