]> git.xonotic.org Git - xonotic/darkplaces.git/commit
r_shadow_bouncegrid now uses floats for accumulating photons, to allow
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 13 Mar 2011 10:23:00 +0000 (10:23 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 13 Mar 2011 18:33:18 +0000 (19:33 +0100)
commit0e5a34e01e257ae178ff3400d3a33d5886bf0adb
treef8560ad3791b341b96e94acea1c5c6395c05c940
parent57396b3277c815b66846f1ddb5b8ec330a1b0c0a
r_shadow_bouncegrid now uses floats for accumulating photons, to allow
higher photon counts without issues
minor optimization to r_shadow_bouncegrid pixel conversion (now does a
batch conversion on the array rather than on each photon contribution)
removed r_shadow_bouncegrid_nolerpsplat cvar to reduce code

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10916 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=da29e760815bc9b987275e96d3cb2faad7e2eacc
r_shadow.c