From 9a874d5293a17a93b7779c930a7b5d1583131f3c Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Thu, 4 Apr 2024 19:45:57 -0400 Subject: [PATCH] Fix for weird HSV colors --- assets | 2 +- source/funkin/graphics/shaders/HSVShader.hx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets b/assets index 5027bc656..ad6ed62bd 160000 --- a/assets +++ b/assets @@ -1 +1 @@ -Subproject commit 5027bc656c9df5ec208ab256f9494bd7da425111 +Subproject commit ad6ed62bd254456b9584b02ed0a5402118b033a8 diff --git a/source/funkin/graphics/shaders/HSVShader.hx b/source/funkin/graphics/shaders/HSVShader.hx index 733bbca7f..9b6ae4cdd 100644 --- a/source/funkin/graphics/shaders/HSVShader.hx +++ b/source/funkin/graphics/shaders/HSVShader.hx @@ -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;