]> git.xonotic.org Git - xonotic/darkplaces.git/commit
track if a cachepic has alpha, and turn off depth write if it does; also use alpha...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 25 Jul 2010 12:20:39 +0000 (12:20 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 25 Jul 2010 12:20:39 +0000 (12:20 +0000)
commit303e5f6cadc3c1aca840b0475cdddfab90317a8d
treef90370b4535300c508747097c1e0e784a1273c93
parent2867a36bdaca3c6d0ed41c6b25e5458abea523d8
track if a cachepic has alpha, and turn off depth write if it does; also use alpha-less blendfuncs if all alpha values are >= 1 and the texture has no alpha (might be a slight performance increase, but mainly to help R_BeginPolygon in 3D space)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10360 d7cf8633-e32d-0410-b094-e92efae38249
clvm_cmds.c
draw.h
gl_draw.c