1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-09 00:04:42 +00:00

Fix for weird HSV colors

This commit is contained in:
EliteMasterEric 2024-04-04 19:45:57 -04:00
parent 07092269b8
commit 9a874d5293
2 changed files with 4 additions and 4 deletions

2
assets

@ -1 +1 @@
Subproject commit 5027bc656c9df5ec208ab256f9494bd7da425111
Subproject commit ad6ed62bd254456b9584b02ed0a5402118b033a8

View file

@ -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;