Skip to content

Commit

Permalink
Reduce CPU usage when drawing shadows
Browse files Browse the repository at this point in the history
By intelligently caching calculations + data between frames
  • Loading branch information
past-due committed Mar 12, 2018
1 parent 9f26c36 commit a928f6a
Show file tree
Hide file tree
Showing 3 changed files with 289 additions and 69 deletions.
2 changes: 1 addition & 1 deletion lib/ivis_opengl/piedef.h
Expand Up @@ -69,7 +69,7 @@ void pie_setShadows(bool drawShadows);
void pie_InitLighting();
void pie_Lighting0(LIGHTING_TYPE entry, const float value[4]);

void pie_RemainingPasses();
void pie_RemainingPasses(UDWORD currentGameFrame);

void pie_SetUp();
void pie_CleanUp();
Expand Down

0 comments on commit a928f6a

Please sign in to comment.