OpenGL2: Fix a glsl compile error on old hardware with r_shadowFilter 0.
This commit is contained in:
1 parent
ff1f093a0b
commit
ca9eebb125
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user