@@ -169,7 +169,7 @@ void SmoothModelNormals( int modelnum, int threadnum = -1 )
169169 Mem_Free ( normals );
170170}
171171
172- void BuildVertexLights ( int indexnum, int thread = -1 )
172+ void VertexDirectLighting ( int indexnum, int thread = -1 )
173173{
174174 int modelnum = g_vertexlight_indexes[indexnum].modelnum ;
175175 int vertexnum = g_vertexlight_indexes[indexnum].vertexnum ;
@@ -310,12 +310,12 @@ void BuildVertexLights( int indexnum, int thread = -1 )
310310
311311/*
312312============
313- VertexPatchLights
313+ VertexIndirectGather
314314
315315This function is run multithreaded
316316============
317317*/
318- void VertexPatchLights ( int indexnum, int threadnum = -1 )
318+ void VertexIndirectGather ( int indexnum, int threadnum = -1 )
319319{
320320 int modelnum = g_vertexlight_indexes[indexnum].modelnum ;
321321 int vertexnum = g_vertexlight_indexes[indexnum].vertexnum ;
@@ -485,7 +485,7 @@ void VertexPatchLights( int indexnum, int threadnum = -1 )
485485 AddStylesToMesh ( mesh, newstyles );
486486}
487487
488- void VertexBlendGI ( int modelnum, int threadnum = -1 )
488+ void VertexIndirectBlend ( int modelnum, int threadnum = -1 )
489489{
490490 entity_t *mapent = g_vertexlight[modelnum];
491491 tmesh_t *mesh;
@@ -924,27 +924,27 @@ static void AllocVertexLighting( void )
924924 // otherwise it's valid
925925}
926926
927- void BuildVertexLights ( void )
927+ void VertexDirectLighting ( void )
928928{
929929 GenerateLightCacheNumbers ();
930930
931931 if ( !g_vertexlight_numindexes ) return ;
932932
933- RunThreadsOnIndividual ( g_vertexlight_numindexes, true , BuildVertexLights );
933+ RunThreadsOnIndividual ( g_vertexlight_numindexes, true , VertexDirectLighting );
934934}
935935
936- void VertexPatchLights ( void )
936+ void VertexIndirectGather ( void )
937937{
938938 if ( !g_vertexlight_numindexes ) return ;
939939
940- RunThreadsOnIndividual ( g_vertexlight_numindexes, true , VertexPatchLights );
940+ RunThreadsOnIndividual ( g_vertexlight_numindexes, true , VertexIndirectGather );
941941}
942942
943- void VertexBlendGI ( void )
943+ void VertexIndirectBlend ( void )
944944{
945945 if ( !g_vertexlight_modnum ) return ;
946946
947- RunThreadsOnIndividual ( g_vertexlight_modnum, true , VertexBlendGI );
947+ RunThreadsOnIndividual ( g_vertexlight_modnum, true , VertexIndirectBlend );
948948}
949949
950950void FinalLightVertex ( void )
0 commit comments