mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-03-01 01:54:01 -05:00
Fix for weird HSV colors
This commit is contained in:
parent
07092269b8
commit
9a874d5293
2 changed files with 4 additions and 4 deletions
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
|
function set_hue(value:Float):Float
|
||||||
{
|
{
|
||||||
this.setFloat('hue', value);
|
this.setFloat('_hue', value);
|
||||||
this.hue = value;
|
this.hue = value;
|
||||||
|
|
||||||
return this.hue;
|
return this.hue;
|
||||||
|
@ -28,7 +28,7 @@ class HSVShader extends FlxRuntimeShader
|
||||||
|
|
||||||
function set_saturation(value:Float):Float
|
function set_saturation(value:Float):Float
|
||||||
{
|
{
|
||||||
this.setFloat('sat', value);
|
this.setFloat('_sat', value);
|
||||||
this.saturation = value;
|
this.saturation = value;
|
||||||
|
|
||||||
return this.saturation;
|
return this.saturation;
|
||||||
|
@ -36,7 +36,7 @@ class HSVShader extends FlxRuntimeShader
|
||||||
|
|
||||||
function set_value(value:Float):Float
|
function set_value(value:Float):Float
|
||||||
{
|
{
|
||||||
this.setFloat('val', value);
|
this.setFloat('_val', value);
|
||||||
this.value = value;
|
this.value = value;
|
||||||
|
|
||||||
return this.value;
|
return this.value;
|
||||||
|
|
Loading…
Reference in a new issue