purkinje tweak (fix color clamping)

This commit is contained in:
Xonk
2023-10-08 18:02:07 -04:00
parent c39a3fadb4
commit 63e7669f8f
3 changed files with 11 additions and 14 deletions

View File

@ -151,7 +151,7 @@ void main() {
#ifdef HURT_AND_DEATH_EFFECT
PlayerDamagedEffect(col);
#endif
vec3 FINAL_COLOR = clamp(int8Dither(col,texcoord),0.0,1.0);
#ifdef COLOR_CURVE
@ -160,6 +160,7 @@ void main() {
applyContrast(FINAL_COLOR, CONTRAST); // for fun
gl_FragColor.rgb = FINAL_COLOR;