From 23c8c49b709e02bcf16e87695e06ff2232afd2f5 Mon Sep 17 00:00:00 2001 From: Xonk Date: Mon, 30 Oct 2023 17:45:37 -0400 Subject: [PATCH] fix hand glowing at all times in the dark. --- shaders/dimensions/all_solid.fsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders/dimensions/all_solid.fsh b/shaders/dimensions/all_solid.fsh index dfa0495..7d89c26 100644 --- a/shaders/dimensions/all_solid.fsh +++ b/shaders/dimensions/all_solid.fsh @@ -319,7 +319,7 @@ void main() { if(HELD_ITEM_BRIGHTNESS > 0.0) torchlightmap = max(torchlightmap, HELD_ITEM_BRIGHTNESS * clamp( pow(max(1.0-length(fragpos)/10,0.0),1.5),0.0,1.0)); #ifdef HAND - torchlightmap = 0.7; + torchlightmap *= 0.9; #endif #endif