fix minimum light with HQ ssgi is enabled. fix commit number distplay

This commit is contained in:
Xonk
2024-06-26 16:16:20 -04:00
parent 7607c0ff41
commit 9a6ffa360c
3 changed files with 5 additions and 6 deletions

View File

@ -1179,7 +1179,7 @@ void main() {
// RTAO and/or SSGI
#if indirect_effect == 3 || indirect_effect == 4
if(!hand) Indirect_lighting = ApplySSRT(Indirect_lighting, blockLightColor, viewPos, normal, vec3(bnoise, noise_2), lightmap.y, isGrass, isDHrange);
if(!hand) Indirect_lighting = ApplySSRT(Indirect_lighting, blockLightColor, MinimumLightColor, viewPos, normal, vec3(bnoise, noise_2), lightmap.y, isGrass, isDHrange);
#endif
#if defined END_SHADER