OpenGL2: "Fix" cg_shadows 4.

This commit is contained in:
SmileTheory 2017-07-14 16:15:02 -07:00
parent 6a77f4e363
commit 6f1712dafe
5 changed files with 29 additions and 50 deletions

View file

@ -2098,7 +2098,7 @@ void R_RenderPshadowMaps(const refdef_t *fd)
if (glRefConfig.framebufferObject)
shadowParms.targetFbo = tr.pshadowFbos[i];
shadowParms.flags = VPF_SHADOWMAP | VPF_DEPTHSHADOW | VPF_NOVIEWMODEL;
shadowParms.flags = VPF_DEPTHSHADOW | VPF_NOVIEWMODEL;
shadowParms.zFar = shadow->lightRadius;
VectorCopy(shadow->lightOrigin, shadowParms.or.origin);