Remove debugging code

This commit is contained in:
Dmitry Kostenko 2022-02-13 19:59:53 +01:00 committed by x2048
parent e531c59606
commit 12896b22d8
2 changed files with 0 additions and 4 deletions

@ -533,8 +533,6 @@ void main(void)
(1.0 - adjusted_night_ratio) * ( // natural light (1.0 - adjusted_night_ratio) * ( // natural light
col.rgb * (1.0 - shadow_int * (1.0 - shadow_color)) + // filtered texture color col.rgb * (1.0 - shadow_int * (1.0 - shadow_color)) + // filtered texture color
dayLight * shadow_color * shadow_int); // reflected filtered sunlight/moonlight dayLight * shadow_color * shadow_int); // reflected filtered sunlight/moonlight
// col.r = 0.5 * clamp(getPenumbraRadius(ShadowMapSampler, posLightSpace.xy, posLightSpace.z, 1.0) / SOFTSHADOWRADIUS, 0.0, 1.0) + 0.5 * col.r;
// col.r = adjusted_night_ratio; // debug night ratio adjustment
#endif #endif
#if ENABLE_TONE_MAPPING #if ENABLE_TONE_MAPPING

@ -526,8 +526,6 @@ void main(void)
(1.0 - adjusted_night_ratio) * ( // natural light (1.0 - adjusted_night_ratio) * ( // natural light
col.rgb * (1.0 - shadow_int * (1.0 - shadow_color)) + // filtered texture color col.rgb * (1.0 - shadow_int * (1.0 - shadow_color)) + // filtered texture color
dayLight * shadow_color * shadow_int); // reflected filtered sunlight/moonlight dayLight * shadow_color * shadow_int); // reflected filtered sunlight/moonlight
// col.r = 0.5 * clamp(getPenumbraRadius(ShadowMapSampler, posLightSpace.xy, posLightSpace.z, 1.0) / SOFTSHADOWRADIUS, 0.0, 1.0) + 0.5 * col.r;
// col.r = adjusted_night_ratio; // debug night ratio adjustment
#endif #endif
#if ENABLE_TONE_MAPPING #if ENABLE_TONE_MAPPING