]> 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)
committerRudolf Polzer <divVerent@gmail.com>
Sun, 15 Mar 2020 02:28:33 +0000 (22:28 -0400)
commite169a2d26f94e1031418fc7f90314907185ba079
tree0a85d973d07e840f656c8cabf6adbc6968296af3
parent349cb25ab576480b733e8f575e529181f4bceae4
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
::stable-branch::merge=18196a9701fcdcd17096f8ec03e5bc615e99ca12
gl_rmain.c
r_shadow.c