fix hand glowing at all times in the dark.

This commit is contained in:
Xonk 2023-10-30 17:45:37 -04:00
parent 56bb9311be
commit 23c8c49b70

View File

@ -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