From 8a372168f84e633e32b893c88c8d059359ac0f0e Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 2 Feb 2004 13:22:40 +0000 Subject: [PATCH] fixing up rtlight handling a bit (now always runs the dynlight stage which has been renamed rtlights stage in the r_speeds report) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3858 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 11 +++++------ todo | 2 ++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/gl_rmain.c b/gl_rmain.c index 1629ed36..1da7d975 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -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 617434b3..d0a3fbcd 100644 --- 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) -- 2.39.2