mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-26 10:12:54 +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
|
||||
|
@ -304,8 +304,8 @@ vec3 specularReflections(
|
||||
f0 = f0 == 0.0 ? 0.02 : f0;
|
||||
|
||||
// if(isHand){
|
||||
// f0 = 0.9;
|
||||
// roughness = 0.25;
|
||||
f0 = 0.9;
|
||||
roughness = 0.25;
|
||||
// }
|
||||
bool isMetal = f0 > 229.5/255.0;
|
||||
|
||||
|
Reference in New Issue
Block a user