]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Refactored r_shadow_bouncegrid code into several functions, changed
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 27 Aug 2016 18:00:00 +0000 (18:00 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 29 Nov 2016 18:35:05 +0000 (19:35 +0100)
commit465f3543762bbed54c2d5b811f7e1c597e6439f2
tree0e653473c97c7c1efb5c0554abca254aa67ac3fa
parent81804fa83299b491dc24dd5f058527165faa38da
Refactored r_shadow_bouncegrid code into several functions, changed
photon distribution math to make the photons more stable from frame to
frame (in dynamic mode), the number of photons fired is now based on
r_shadow_bouncegrid_intensityperphoton rather than always going for
maximum photons (accordingly r_shadow_bouncegrid_photons has been
renamed maxphotons and will still apply the old logic if it must).

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12274 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=96c5fb3f2bf6068164d1cd425965c0be51b92ea2
gl_rmain.c
r_shadow.c
r_shadow.h