mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-26 11:34:15 +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 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 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 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 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;
|
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 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 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 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 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;
|
const float hueRotation = HUE_ROTATION / 360.0;
|
||||||
#ifdef VULKAN
|
#ifdef VULKAN
|
||||||
|
@ -2,60 +2,126 @@
|
|||||||
titleIds = 00050000101C9300,00050000101C9400,00050000101C9500
|
titleIds = 00050000101C9300,00050000101C9400,00050000101C9500
|
||||||
name = Divine Laser Beams
|
name = Divine Laser Beams
|
||||||
path = "The Legend of Zelda: Breath of the Wild/Mods/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
|
version = 6
|
||||||
|
|
||||||
[Default]
|
[Default]
|
||||||
$hue:int = 0
|
$hue:int = 0
|
||||||
$rainbow:int = 0
|
$rainbow:int = 0
|
||||||
$disableBeams:int = 0
|
$disableBeams:int = 0
|
||||||
|
$saturation = 1.0
|
||||||
|
$alpha = 1.0
|
||||||
|
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = Disabled (Default)
|
name = Yes (Default)
|
||||||
category = Hide Laser
|
category = Show Laser
|
||||||
default = 1
|
default = 1
|
||||||
$disableBeams:int = 0
|
$disableBeams:int = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = Enabled
|
name = No
|
||||||
category = Hide Laser
|
category = Show Laser
|
||||||
default = 1
|
|
||||||
$disableBeams:int = 1
|
$disableBeams:int = 1
|
||||||
|
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = Red (Default)
|
name = Red (Default)
|
||||||
|
condition = $disableBeams == 0
|
||||||
category = Laser Color
|
category = Laser Color
|
||||||
default = 1
|
default = 1
|
||||||
$hue:int = 0
|
$hue:int = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = Rainbow
|
name = Rainbow
|
||||||
|
condition = $disableBeams == 0
|
||||||
category = Laser Color
|
category = Laser Color
|
||||||
$rainbow:int = 1
|
$rainbow:int = 1
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = Purple
|
name = Purple
|
||||||
|
condition = $disableBeams == 0
|
||||||
category = Laser Color
|
category = Laser Color
|
||||||
$hue:int = 300
|
$hue:int = 300
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = Blue
|
name = Blue
|
||||||
|
condition = $disableBeams == 0
|
||||||
category = Laser Color
|
category = Laser Color
|
||||||
$hue:int = 225
|
$hue:int = 225
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = Cyan
|
name = Cyan
|
||||||
|
condition = $disableBeams == 0
|
||||||
category = Laser Color
|
category = Laser Color
|
||||||
$hue:int = 160
|
$hue:int = 160
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = Green
|
name = Green
|
||||||
|
condition = $disableBeams == 0
|
||||||
category = Laser Color
|
category = Laser Color
|
||||||
$hue:int = 120
|
$hue:int = 120
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = Yellow
|
name = Yellow
|
||||||
|
condition = $disableBeams == 0
|
||||||
category = Laser Color
|
category = Laser Color
|
||||||
$hue:int = 45
|
$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