mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-05 14:24:28 +00:00
Fix for weird HSV colors
This commit is contained in:
parent
07092269b8
commit
9a874d5293
2
assets
2
assets
|
@ -1 +1 @@
|
|||
Subproject commit 5027bc656c9df5ec208ab256f9494bd7da425111
|
||||
Subproject commit ad6ed62bd254456b9584b02ed0a5402118b033a8
|
|
@ -20,7 +20,7 @@ class HSVShader extends FlxRuntimeShader
|
|||
|
||||
function set_hue(value:Float):Float
|
||||
{
|
||||
this.setFloat('hue', value);
|
||||
this.setFloat('_hue', value);
|
||||
this.hue = value;
|
||||
|
||||
return this.hue;
|
||||
|
@ -28,7 +28,7 @@ class HSVShader extends FlxRuntimeShader
|
|||
|
||||
function set_saturation(value:Float):Float
|
||||
{
|
||||
this.setFloat('sat', value);
|
||||
this.setFloat('_sat', value);
|
||||
this.saturation = value;
|
||||
|
||||
return this.saturation;
|
||||
|
@ -36,7 +36,7 @@ class HSVShader extends FlxRuntimeShader
|
|||
|
||||
function set_value(value:Float):Float
|
||||
{
|
||||
this.setFloat('val', value);
|
||||
this.setFloat('_val', value);
|
||||
this.value = value;
|
||||
|
||||
return this.value;
|
||||
|
|
Loading…
Reference in a new issue