]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fixing up rtlight handling a bit (now always runs the dynlight stage which has been...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 2 Feb 2004 13:22:40 +0000 (13:22 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 2 Feb 2004 13:22:40 +0000 (13:22 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3858 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c
todo

index 1629ed36fcbb7a3d1bbbcac073b522f321df32ce..1da7d9753f0d41cbf3d4f2b6847c454cda1562f4 100644 (file)
@@ -738,10 +738,12 @@ void R_ShadowVolumeLighting(int visiblevolumes)
        }
 
        if (visiblevolumes)
+       {
                qglEnable(GL_CULL_FACE);
+               qglDisable(GL_SCISSOR_TEST);
+       }
        else
                R_Shadow_Stage_End();
-       qglDisable(GL_SCISSOR_TEST);
 }
 
 static void R_SetFrustum (void)
@@ -908,11 +910,8 @@ void R_RenderView (void)
        R_DrawModels();
        R_TimeReport("models");
 
-       if (r_shadow_realtime_world.integer || r_shadow_realtime_dlight.integer)
-       {
-               R_ShadowVolumeLighting(false);
-               R_TimeReport("dynlight");
-       }
+       R_ShadowVolumeLighting(false);
+       R_TimeReport("rtlights");
 
        R_DrawLightningBeams();
        R_TimeReport("lightning");
diff --git a/todo b/todo
index 617434b35ba8476f227dea2ddaf3f428e43825d9..d0a3fbcdb9d9815bf4594159e3e9834d7bb791be 100644 (file)
--- a/todo
+++ b/todo
@@ -35,6 +35,8 @@
 -n darkplaces: server is starting before the "port" cvar is set by commandline and scripts? (yummyluv)
 -n darkplaces: typing ip in join game menu should show 'trying' and 'no response' after a while, or 'no network' if networking is not initialized (yummyluv)
 -n dpmod: make grapple off-hand (joe hill)
+3 darkplaces: add a sound unloader of some sort, to allow music and other one-level stuff to be unloaded
+0 dpmod: fix angled corpse bug
 0 darkplaces: add lava-steam particle puff effect for bursting lava bubbles (Zombie) 
 0 darkplaces: remove the loop unrolling in Image_Resample32LerpLine and Image_Resample24LerpLine and related functions, as the loop is really too long to get much benefit, and it might even not fit in the L1 instruction cache on Pentium1 (fuh)
 0 darkplaces: make console editing allow cursoring left/right on the line and insert and delete, etc (Vic)