mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-22 17:49:17 +01:00
[BotW] Add transparency and saturation options to divine laser beam pack
Thanks to @Fs00 for making this change!
This commit is contained in:
parent
93bf050b4b
commit
b8ab96dc67
@ -25,9 +25,9 @@
|
||||
#define RAINBOW_EFFECT $rainbow // [0 or 1] set it to 1 to enable rainbow beams effect. in that case, HUE_ROTATION is ignored
|
||||
#define DISABLE_BEAMS $disableBeams // [0 or 1] set it to 1 to hide the lasers completely
|
||||
#define HUE_ROTATION $hue //[0, 360] where 0 and 360 is unchanged Hue and 180 is completely opposite Hue. Check http://i.imgur.com/5UpyIGh.png
|
||||
#define SATURATION_FACTOR 1.0 //[0.0, 1.0] 1.0 means unchanged Saturation, 0.0 means completely desaturated. Values above 1.0 are accepted, but they may cause clipping
|
||||
#define SATURATION_FACTOR $saturation //[0.0, 1.0] 1.0 means unchanged Saturation, 0.0 means completely desaturated. Values above 1.0 are accepted, but they may cause clipping
|
||||
#define VALUE_FACTOR 1.0 //same as above; applies to Value
|
||||
#define ALPHA_FACTOR 1.0 //same as above; applies to Transparency
|
||||
#define ALPHA_FACTOR $alpha //same as above; applies to Transparency
|
||||
|
||||
const float hueRotation = HUE_ROTATION / 360.0;
|
||||
|
||||
|
@ -25,9 +25,9 @@
|
||||
#define RAINBOW_EFFECT $rainbow // [0 or 1] set it to 1 to enable rainbow beams effect. in that case, HUE_ROTATION is ignored
|
||||
#define DISABLE_BEAMS $disableBeams // [0 or 1] set it to 1 to hide the lasers completely
|
||||
#define HUE_ROTATION $hue //[0, 360] where 0 and 360 is unchanged Hue and 180 is completely opposite Hue. Check http://i.imgur.com/5UpyIGh.png
|
||||
#define SATURATION_FACTOR 1.0 //[0.0, 1.0] 1.0 means unchanged Saturation, 0.0 means completely desaturated. Values above 1.0 are accepted, but they may cause clipping
|
||||
#define SATURATION_FACTOR $saturation //[0.0, 1.0] 1.0 means unchanged Saturation, 0.0 means completely desaturated. Values above 1.0 are accepted, but they may cause clipping
|
||||
#define VALUE_FACTOR 1.0 //same as above; applies to Value
|
||||
#define ALPHA_FACTOR 1.0 //same as above; applies to Transparency
|
||||
#define ALPHA_FACTOR $alpha //same as above; applies to Transparency
|
||||
|
||||
const float hueRotation = HUE_ROTATION / 360.0;
|
||||
#ifdef VULKAN
|
||||
|
@ -2,60 +2,126 @@
|
||||
titleIds = 00050000101C9300,00050000101C9400,00050000101C9500
|
||||
name = Divine Laser Beams
|
||||
path = "The Legend of Zelda: Breath of the Wild/Mods/Divine Laser Beams"
|
||||
description = Allows customization of the color of the Divine Beasts's Laser Beams. They can also be completely hidden.||Made by Kiri.
|
||||
description = Customizes the appearance of the Divine Beasts's Laser Beams. They can also be completely hidden.||Made by Kiri.
|
||||
version = 6
|
||||
|
||||
[Default]
|
||||
$hue:int = 0
|
||||
$rainbow:int = 0
|
||||
$disableBeams:int = 0
|
||||
$saturation = 1.0
|
||||
$alpha = 1.0
|
||||
|
||||
|
||||
[Preset]
|
||||
name = Disabled (Default)
|
||||
category = Hide Laser
|
||||
name = Yes (Default)
|
||||
category = Show Laser
|
||||
default = 1
|
||||
$disableBeams:int = 0
|
||||
|
||||
[Preset]
|
||||
name = Enabled
|
||||
category = Hide Laser
|
||||
default = 1
|
||||
name = No
|
||||
category = Show Laser
|
||||
$disableBeams:int = 1
|
||||
|
||||
|
||||
[Preset]
|
||||
name = Red (Default)
|
||||
condition = $disableBeams == 0
|
||||
category = Laser Color
|
||||
default = 1
|
||||
$hue:int = 0
|
||||
|
||||
[Preset]
|
||||
name = Rainbow
|
||||
condition = $disableBeams == 0
|
||||
category = Laser Color
|
||||
$rainbow:int = 1
|
||||
|
||||
[Preset]
|
||||
name = Purple
|
||||
condition = $disableBeams == 0
|
||||
category = Laser Color
|
||||
$hue:int = 300
|
||||
|
||||
[Preset]
|
||||
name = Blue
|
||||
condition = $disableBeams == 0
|
||||
category = Laser Color
|
||||
$hue:int = 225
|
||||
|
||||
[Preset]
|
||||
name = Cyan
|
||||
condition = $disableBeams == 0
|
||||
category = Laser Color
|
||||
$hue:int = 160
|
||||
|
||||
[Preset]
|
||||
name = Green
|
||||
condition = $disableBeams == 0
|
||||
category = Laser Color
|
||||
$hue:int = 120
|
||||
|
||||
[Preset]
|
||||
name = Yellow
|
||||
condition = $disableBeams == 0
|
||||
category = Laser Color
|
||||
$hue:int = 45
|
||||
|
||||
|
||||
[Preset]
|
||||
name = 100% (Default)
|
||||
condition = $disableBeams == 0
|
||||
category = Color Saturation
|
||||
default = 1
|
||||
$saturation = 1.0
|
||||
|
||||
[Preset]
|
||||
name = 75%
|
||||
condition = $disableBeams == 0
|
||||
category = Color Saturation
|
||||
$saturation = 0.75
|
||||
|
||||
[Preset]
|
||||
name = 50%
|
||||
condition = $disableBeams == 0
|
||||
category = Color Saturation
|
||||
$saturation = 0.5
|
||||
|
||||
[Preset]
|
||||
name = 25%
|
||||
condition = $disableBeams == 0
|
||||
category = Color Saturation
|
||||
$saturation = 0.25
|
||||
|
||||
|
||||
[Preset]
|
||||
name = 100% (Default)
|
||||
condition = $disableBeams == 0
|
||||
category = Laser Transparency
|
||||
default = 1
|
||||
$alpha = 1.0
|
||||
|
||||
[Preset]
|
||||
name = 75%
|
||||
condition = $disableBeams == 0
|
||||
category = Laser Transparency
|
||||
$alpha = 0.75
|
||||
|
||||
[Preset]
|
||||
name = 50%
|
||||
condition = $disableBeams == 0
|
||||
category = Laser Transparency
|
||||
$alpha = 0.5
|
||||
|
||||
[Preset]
|
||||
name = 25%
|
||||
condition = $disableBeams == 0
|
||||
category = Laser Transparency
|
||||
$alpha = 0.25
|
||||
|
||||
[Preset]
|
||||
name = 10%
|
||||
condition = $disableBeams == 0
|
||||
category = Laser Transparency
|
||||
$alpha = 0.1
|
Loading…
Reference in New Issue
Block a user