aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/assets')
-rw-r--r--src/main/resources/assets/tectech/shaders/star.frag.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/assets/tectech/shaders/star.frag.glsl b/src/main/resources/assets/tectech/shaders/star.frag.glsl
index d5a6ff894e..8a79e09353 100644
--- a/src/main/resources/assets/tectech/shaders/star.frag.glsl
+++ b/src/main/resources/assets/tectech/shaders/star.frag.glsl
@@ -24,7 +24,7 @@ void main() {
vec3 originalYIQ = toYIQ(texture);
vec3 yiqColor = vec3(original.x,targetYIQ.yz);
vec3 finalrgb = toRGB(yiqColor);
- finalrgb = pow(finalrgb,vec3(1/u_Gamma));
+ finalrgb = pow(finalrgb,vec3(1.0/u_Gamma));
gl_FragColor = vec4(finalrgb,u_Color.a);
}
}