diff options
author | Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> | 2024-05-29 23:00:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 23:00:20 +0200 |
commit | 2af916371b2edf71fb055a3f8de2bcd7b99b2251 (patch) | |
tree | 9a0e4f7ce2dca37f1d227ba0d6605f7b44e096e9 /src/main/java/at/hannibal2/skyhanni/features/misc | |
parent | 21f92de676710c0c39d37056dada80af8266a9ba (diff) | |
download | skyhanni-2af916371b2edf71fb055a3f8de2bcd7b99b2251.tar.gz skyhanni-2af916371b2edf71fb055a3f8de2bcd7b99b2251.tar.bz2 skyhanni-2af916371b2edf71fb055a3f8de2bcd7b99b2251.zip |
Improvement: Added Mining Event Icons (#1305)
Co-authored-by: Cal <cwolfson58@gmail.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/DarkenShader.kt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/DarkenShader.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/DarkenShader.kt new file mode 100644 index 000000000..1a42522de --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/DarkenShader.kt @@ -0,0 +1,17 @@ +package at.hannibal2.skyhanni.features.misc + +import at.hannibal2.skyhanni.utils.shader.Shader +import at.hannibal2.skyhanni.utils.shader.Uniform + +object DarkenShader : Shader("darken", "darken") { + + val INSTANCE: DarkenShader + get() = this + + var darknessLevel = 0f + + override fun registerUniforms() { + registerUniform(Uniform.UniformType.FLOAT, "darknessLevel") { darknessLevel } + } +} + |