Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 330 vs 331 for /trunk/assets/shaders/GLSL/fragmentAtoms/shadow_directional.frag

Diff revisions: vs.
  @@ -67,7 +67,9 @@
67 67
68 68 //float shadowBias = DEPTH_EXP_WARP * exp(DEPTH_EXP_WARP * dvd_minShadowVariance);
69 69 //float shadowWarpedz1 = exp(shadow_coord.w * DEPTH_EXP_WARP);
70 - //return mix(chebyshevUpperBound(moments, shadowWarpedz1, dvd_minShadowVariance), 1.0, clamp(((gl_FragCoord.z + dvd_shadowFadeDist) - dvd_shadowMaxDist) / dvd_shadowFadeDist, 0.0, 1.0));
70 + //return mix(chebyshevUpperBound(moments, shadowWarpedz1, dvd_minShadowVariance),
71 + 1.0,
72 + clamp(((gl_FragCoord.z + dvd_shadowFadeDist) - dvd_shadowMaxDist) / dvd_shadowFadeDist, 0.0, 1.0));
71 73 return chebyshevUpperBound(moments, shadow_coord.w, dvd_minShadowVariance);
72 74 }
73 75