]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_shadow.c
Fix the corona bug. The render bug only though.
[xonotic/darkplaces.git] / r_shadow.c
index 11b87427fb4d97514227c9568531c2c6ae6dacfd..44fd8f2935fa0e498771014f924f39d02ce44b95 100644 (file)
@@ -5600,7 +5600,7 @@ void R_Shadow_PrepareModelShadows(void)
                return;
        }
 
-       size = 2 * r_shadow_shadowmapmaxsize;
+       size = r_shadow_shadowmaptexturesize / 4;
        scale = r_shadow_shadowmapping_precision.value * r_shadows_shadowmapscale.value;
        radius = 0.5f * size / scale;