aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets/skyhanni/shaders/textured_chroma.fsh
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/assets/skyhanni/shaders/textured_chroma.fsh')
-rw-r--r--src/main/resources/assets/skyhanni/shaders/textured_chroma.fsh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/resources/assets/skyhanni/shaders/textured_chroma.fsh b/src/main/resources/assets/skyhanni/shaders/textured_chroma.fsh
index 2f3d76af7..1ccdc4fe1 100644
--- a/src/main/resources/assets/skyhanni/shaders/textured_chroma.fsh
+++ b/src/main/resources/assets/skyhanni/shaders/textured_chroma.fsh
@@ -2,7 +2,7 @@
// Modified from SkyblockAddons
// Credit: https://github.com/BiscuitDevelopment/SkyblockAddons/blob/main/src/main/resources/assets/skyblockaddons/shaders/program/chroma_screen_textured.fsh
-#version 130
+#version 120
uniform float chromaSize;
uniform float timeOffset;
@@ -11,8 +11,8 @@ uniform bool forwardDirection;
uniform sampler2D outTexture;
-in vec2 outTextureCoords;
-in vec4 outColor;
+varying vec2 outTextureCoords;
+varying vec4 outColor;
float rgb2b(vec3 rgb) {
return max(max(rgb.r, rgb.g), rgb.b);
@@ -40,4 +40,4 @@ void main() {
// Set the color to use the new hue & original saturation/value/alpha values
gl_FragColor = vec4(hsb2rgb_smooth(vec3(hue, saturation, rgb2b(originalColor.rgb))), originalColor.a);
-} \ No newline at end of file
+}