mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-27 02:32:39 +08:00
make old lightleak fix setting work again
This commit is contained in:
@ -1037,9 +1037,9 @@ void main() {
|
||||
// transition to fallback lightmap shadow mask.
|
||||
shadowColor *= mix(isWater ? lightLeakFix : LM_shadowMapFallback, 1.0, shadowMapFalloff2);
|
||||
|
||||
// #ifdef OLD_LIGHTLEAK_FIX
|
||||
// if (isEyeInWater == 0) Shadows *= lightLeakFix; // light leak fix
|
||||
// #endif
|
||||
#ifdef OLD_LIGHTLEAK_FIX
|
||||
if(isEyeInWater != 1) shadowColor *= lightLeakFix; // light leak fix
|
||||
#endif
|
||||
|
||||
//////////////////////////////// SUN SSS ////////////////////////////////
|
||||
#if SSS_TYPE != 0
|
||||
|
Reference in New Issue
Block a user