]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
lights now have an orientation (this isn't editable yet, and is infact not really...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 28 Feb 2003 11:28:10 +0000 (11:28 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 28 Feb 2003 11:28:10 +0000 (11:28 +0000)
commit8975282c766a46aa0da84f14a0ba278f62c9c8df
tree9cbeb0af7dc56589ae784b9899d08c88823adf07
parentdd68b13a5cdd211701e1b6d13352f773faaa3607
lights now have an orientation (this isn't editable yet, and is infact not really supported for rotated lights at the moment, their bbox would need to be rotated)
lights now use bbox culling instead of radius (because they aren't round in 2D texture mode)
fixed LOTS of light culling bugs (particularly with surface selection)
fixed scissor to be more efficient (smaller) when easily done (entirely infront of view) and fixed some bugs
got rid of ShadowSphere code in gl_rmain.c (it was not used)
added back RadiusFromBounds (and optimized it) and added RadiusFromBoundsAndOrigin
removed trailing whitespace in mathlib.c
added BoxesOverlap macro to mathlib.h
fixed a portal-flow bug when a light lies directly inside a portal polygon (now checks both leafs involved, very mild search tolerance for leafs around the light)
added back 3d attenuation texture (true spherical lights make a return, r_shadow_texture3d cvar controls this)
fixed light-bleeding in attenuation textures at the edges (fixed a bug in the biasing during texture generation, now the edge is always black as it should be)
realtime lighting texture generation (attenuation/normalizationcubemap) now has some macros for more easily adjusting texture resolutions
reduced resolution of attenuation and normalization textures
added a bunch more rendering paths for diffuse and specular lighting, to reduce number of passes in a few cases (and allow use of 3D attenuation texture)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2793 d7cf8633-e32d-0410-b094-e92efae38249
gl_models.c
gl_rmain.c
gl_rsurf.c
mathlib.c
mathlib.h
model_alias.c
model_brush.c
model_shared.h
portals.c
r_shadow.c
r_shadow.h