diff options
Diffstat (limited to 'src/renderergl2')
-rw-r--r-- | src/renderergl2/glsl/shadowmask_fp.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/glsl/shadowmask_fp.glsl b/src/renderergl2/glsl/shadowmask_fp.glsl index 8a5597a9..053907cf 100644 --- a/src/renderergl2/glsl/shadowmask_fp.glsl +++ b/src/renderergl2/glsl/shadowmask_fp.glsl @@ -82,7 +82,7 @@ float PCF(const sampler2DShadow shadowmap, const vec2 st, const float dist) mult *= 0.33333; #endif #else - mult = shadow2D(shadowmap, vec3(st, dist)); + mult = shadow2D(shadowmap, vec3(st, dist)).r; #endif return mult; |