]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Overhauled r_shadow_bouncegrid, it performs much faster, makes use of as many threads...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 17 Jan 2020 06:22:09 +0000 (06:22 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 17 Jan 2020 06:22:09 +0000 (06:22 +0000)
commited17b0043966690a70381680a95b0e51891efa40
tree8aeff7fe7927ebcd66350efff7ee80f382e51e08
parent0c38a45ad8a3f7e14631f17983a7fcd5239309c2
Overhauled r_shadow_bouncegrid, it performs much faster, makes use of as many threads as you wish, and has a nicer calculation for light path accumulation.

r_shadow_bouncegrid now does refractive index calculations on water surfaces, it's not very obvious yet because the traceline doesn't return texture information (if it did, there would be cool caustics effects in dynamic mode).

Implemented TaskQueue system for simple threaded tasks (fibers but less featureful), this is used by r_shadow_bouncegrid but will be used by other parts of the engine in future, also added Thread_Atomic* functions.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12493 d7cf8633-e32d-0410-b094-e92efae38249
host.c
model_brush.c
model_shared.c
model_shared.h
r_shadow.c
r_shadow.h
sys_shared.c
thread.h
thread_sdl.c