r1013 - trunk/code/renderer
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Dec 15 08:46:14 EST 2006
Author: thilo
Date: 2006-12-15 08:46:13 -0500 (Fri, 15 Dec 2006)
New Revision: 1013
Modified:
trunk/code/renderer/tr_shader.c
Log:
Fix annoying bug where transparent surfaces wouldn't draw over skyboxes. Thanks to Stefan Langer a.k.a. #@ for providing the fix.
Modified: trunk/code/renderer/tr_shader.c
===================================================================
--- trunk/code/renderer/tr_shader.c 2006-12-07 23:55:01 UTC (rev 1012)
+++ trunk/code/renderer/tr_shader.c 2006-12-15 13:46:13 UTC (rev 1013)
@@ -2282,9 +2282,8 @@
shader.numUnfoggedPasses = stage;
// fogonly shaders don't have any normal passes
- if ( stage == 0 ) {
+ if (stage == 0 && !shader.isSky)
shader.sort = SS_FOG;
- }
// determine which stage iterator function is appropriate
ComputeStageIteratorFunc();
More information about the quake3-commits
mailing list