mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
OpenGL2: Fix a glsl compile error on old hardware with r_shadowFilter 0.
This commit is contained in:
parent
ff1f093a0b
commit
ca9eebb125
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue