diff options
author | Vixid <52578495+VixidDev@users.noreply.github.com> | 2024-03-14 19:56:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-14 20:56:09 +0100 |
commit | e0bfda736f6543398ed753e6a4bf24eb7985e94f (patch) | |
tree | 717687a9fd10d2cb1e1e0146365e1c1da7c9ddba /src/main/resources/assets/skyhanni/shaders/textured_chroma.fsh | |
parent | 36bba09d6d06177a36bada991777f21ebdd6b7aa (diff) | |
download | skyhanni-e0bfda736f6543398ed753e6a4bf24eb7985e94f.tar.gz skyhanni-e0bfda736f6543398ed753e6a4bf24eb7985e94f.tar.bz2 skyhanni-e0bfda736f6543398ed753e6a4bf24eb7985e94f.zip |
Fix: Revert shader version for Mac compatibility (#1176)
Diffstat (limited to 'src/main/resources/assets/skyhanni/shaders/textured_chroma.fsh')
-rw-r--r-- | src/main/resources/assets/skyhanni/shaders/textured_chroma.fsh | 8 |
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 +} |