Module darkplaces: Change committed
havoc at icculus.org
havoc at icculus.org
Thu Mar 8 18:50:39 EST 2007
Commiter : havoc
CVSROOT : /cvs/cvsroot/twilight
Module : darkplaces
Commit time: 2007-03-08 23:50:38 UTC
Log message:
implemented shadow caster culling by creating a frustum plane set that includes the light origin, any object that is not within this frustum (which encloses the screen and a triangular-shaped volume extending to the light origin) can not possibly cast a shadow onto the visible geometry, this reduces cpu work in a few cases (off-screen explosion with several entities further off-screen)
Modified files:
client.h gl_rmain.c gl_rsurf.c r_shadow.c r_shadow.h render.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20070308.235038.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20070308/ce136954/attachment.diff>
More information about the twilight-commits
mailing list