Get models being lit by the world's lightmaps.

Even though the world isn't rendered yet.
This commit is contained in:
Bill Currie 2012-01-05 22:37:02 +09:00
parent 423e08ce21
commit 42266cddd5

View file

@ -116,6 +116,7 @@ R_ViewChanged (float aspect)
void void
R_SetupFrame (void) R_SetupFrame (void)
{ {
R_AnimateLight ();
R_ClearEnts (); R_ClearEnts ();
r_framecount++; r_framecount++;
@ -310,6 +311,7 @@ R_RenderView (void)
R_SetupFrame (); R_SetupFrame ();
R_SetupView (); R_SetupView ();
R_MarkLeaves (); R_MarkLeaves ();
R_PushDlights (vec3_origin);
R_DrawWorld (); R_DrawWorld ();
R_RenderEntities (); R_RenderEntities ();
} }