mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Remove debugging code
This commit is contained in:
parent
e531c59606
commit
12896b22d8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user