diff --git a/codemp/rd-vulkan/tr_ghoul2.cpp b/codemp/rd-vulkan/tr_ghoul2.cpp index 50f8840899..1f800dd16b 100644 --- a/codemp/rd-vulkan/tr_ghoul2.cpp +++ b/codemp/rd-vulkan/tr_ghoul2.cpp @@ -3349,11 +3349,6 @@ void R_AddGhoulSurfaces( trRefEntity_t *ent, int entityNum ) { assert(ghoul2.size()<=255); modelList[255]=548; - // set up lighting now that we know we aren't culled - if ( !personalModel || r_shadows->integer > 1 ) { - R_SetupEntityLighting( &tr.refdef, ent ); - } - // see if we are in a fog volume fogNum = R_GComputeFogNum( ent ); diff --git a/codemp/rd-vulkan/tr_mesh.cpp b/codemp/rd-vulkan/tr_mesh.cpp index e330b10ad2..193091c2ce 100644 --- a/codemp/rd-vulkan/tr_mesh.cpp +++ b/codemp/rd-vulkan/tr_mesh.cpp @@ -331,13 +331,6 @@ void R_AddMD3Surfaces( trRefEntity_t *ent, int entityNum ) { return; } - // - // set up lighting now that we know we aren't culled - // - if ( !personalModel || r_shadows->integer > 1 ) { - R_SetupEntityLighting( &tr.refdef, ent ); - } - #ifdef USE_PMLIGHT numDlights = 0; if (r_dlightMode->integer >= 2 && (!personalModel || tr.viewParms.portalView != PV_NONE)) { diff --git a/codemp/rd-vulkan/tr_world.cpp b/codemp/rd-vulkan/tr_world.cpp index 1bb1be6ef3..47acf434ba 100644 --- a/codemp/rd-vulkan/tr_world.cpp +++ b/codemp/rd-vulkan/tr_world.cpp @@ -600,9 +600,6 @@ void R_AddBrushModelSurfaces ( trRefEntity_t *ent, int entityNum ) { for ( s = 0; s < bmodel->numSurfaces; s++ ) { R_AddWorldSurface( bmodel->firstSurface + s, ent, entityNum, qtrue ); } - - R_SetupEntityLighting( &tr.refdef, ent ); - R_TransformDlights( tr.viewParms.num_dlights, tr.viewParms.dlights, &tr.ori ); for ( i = 0; i < tr.viewParms.num_dlights; i++ ) {