]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Change default value of r_shadows_shadowmapscale from 1 to 0.25, so that
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 9 Apr 2018 02:52:08 +0000 (02:52 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 9 Apr 2018 02:52:08 +0000 (02:52 +0000)
commit18196a9701fcdcd17096f8ec03e5bc615e99ca12
treec499c2e3396b90316bf21a9db7f67a39baa31b39
parent6d60da43c7b511ebafb25e110c8636e026a2280e
Change default value of r_shadows_shadowmapscale from 1 to 0.25, so that
shadows cover a larger part of the level around the eye.

Change the way r_shadows 2 size is calculated so that it uses 1/4th of
the texture atlas size (at default this would be 2048 of 8192) rather
than 2*r_shadow_shadowmapping_maxsize (at default that was 2*512 = 1024
of 8192).

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12375 d7cf8633-e32d-0410-b094-e92efae38249
gl_rmain.c
r_shadow.c