]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
Remove debugging code
authorDmitry Kostenko <codeforsmile@gmail.com>
Sun, 13 Feb 2022 18:59:53 +0000 (19:59 +0100)
committerx2048 <codeforsmile@gmail.com>
Mon, 7 Mar 2022 22:45:26 +0000 (23:45 +0100)
client/shaders/nodes_shader/opengl_fragment.glsl
client/shaders/object_shader/opengl_fragment.glsl

index 55c3feac78c9c47ab1fbf2dc6ea0a30b978d140f..c2461953927484a64a45019718199549673edb76 100644 (file)
@@ -533,8 +533,6 @@ void main(void)
                        (1.0 - adjusted_night_ratio) * ( // natural light
                                        col.rgb * (1.0 - shadow_int * (1.0 - shadow_color)) +  // filtered texture color
                                        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
 
 #if ENABLE_TONE_MAPPING
index e1d7a3574015f010e69741c90aa2e91879715ea9..48066adc34a4bde24ac9efc9b7724f513fe73e17 100644 (file)
@@ -526,8 +526,6 @@ void main(void)
                        (1.0 - adjusted_night_ratio) * ( // natural light
                                        col.rgb * (1.0 - shadow_int * (1.0 - shadow_color)) +  // filtered texture color
                                        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
 
 #if ENABLE_TONE_MAPPING