/dports/games/darkplaces/darkplaces/ |
H A D | r_shadow.c | 2108 rsurface.rtlight = rtlight; in R_Shadow_RenderMode_ActiveLight() 2559 rtlight = &light->rtlight; in R_Shadow_BounceGrid_CheckEnable() 2660 rtlight = &light->rtlight; in R_Shadow_BounceGrid_UpdateSpacing() 2826 rtlight = &light->rtlight; in R_Shadow_BounceGrid_AssignPhotons() 2932 rtlight = &light->rtlight; in R_Shadow_BounceGrid_AssignPhotons() 3391 rtlight = &light->rtlight; in R_Shadow_BounceGrid_TracePhotons() 4128 rtlight->cullmins[0] = rtlight->shadoworigin[0] - rtlight->radius; in R_RTLight_Update() 6109 rtlight = &light->rtlight; in R_Shadow_DrawCoronas() 6142 rtlight = &light->rtlight; in R_Shadow_DrawCoronas() 6153 R_DrawCorona(rtlight, rtlight->corona, rtlight->radius * rtlight->coronasizescale * 2.0f); in R_Shadow_DrawCoronas() [all …]
|
H A D | meshqueue.c | 8 …void (*callback)(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces, int *surfa… 11 const rtlight_t *rtlight; member 34 … const rtlight_t *rtlight, int numsurfaces, int *surfacelist), const entity_render_t *ent, int sur… in R_MeshQueue_AddTransparent() argument 53 mq->rtlight = rtlight; in R_MeshQueue_AddTransparent() 68 const rtlight_t *rtlight; in R_MeshQueue_RenderTransparent() local 69 …void (*callback)(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces, int *surfa… in R_MeshQueue_RenderTransparent() 125 rtlight = NULL; in R_MeshQueue_RenderTransparent() 135 …if (ent != mqt->ent || rtlight != mqt->rtlight || callback != mqt->callback || batchnumsurfaces >=… in R_MeshQueue_RenderTransparent() 138 callback(ent, rtlight, batchnumsurfaces, batchsurfaceindex); in R_MeshQueue_RenderTransparent() 141 rtlight = mqt->rtlight; in R_MeshQueue_RenderTransparent() [all …]
|
H A D | meshqueue.h | 9 … const rtlight_t *rtlight, int numsurfaces, int *surfacelist), const entity_render_t *ent, int sur…
|
H A D | r_shadow.h | 113 void R_Shadow_RenderMode_ActiveLight(const rtlight_t *rtlight); 134 void R_RTLight_Update(rtlight_t *rtlight, int isstatic, matrix4x4_t *matrix, vec3_t color, int styl… 135 void R_RTLight_Compile(rtlight_t *rtlight); 136 void R_RTLight_Uncompile(rtlight_t *rtlight);
|
H A D | gl_rsurf.c | 335 static void R_DrawPortal_Callback(const entity_render_t *ent, const rtlight_t *rtlight, int numsurf… in R_DrawPortal_Callback() argument 396 …ORT_DISTANCE, center, R_DrawPortal_Callback, (entity_render_t *)portal, leafnum, rsurface.rtlight); in R_DrawPortals() 747 …tlight && R_CullBoxCustomPlanes(node->mins, node->maxs, rtlight->cached_numfrustumplanes, rtlight-… in R_Q1BSP_RecursiveGetLightInfo_BSP() 1069 …tlight && R_CullBoxCustomPlanes(node->mins, node->maxs, rtlight->cached_numfrustumplanes, rtlight-… in R_Q1BSP_RecursiveGetLightInfo_BIH() 1432 …awLight_TransparentCallback(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces,… in R_Q1BSP_DrawLight_TransparentCallback() argument 1440 R_Shadow_RenderMode_ActiveLight(rtlight); in R_Q1BSP_DrawLight_TransparentCallback() 1441 …R_Shadow_RenderMode_Lighting(false, true, rtlight->shadowmapatlassidesize != 0, (ent->flags & REND… in R_Q1BSP_DrawLight_TransparentCallback() 1532 …r, R_Q1BSP_DrawLight_TransparentCallback, ent, surface - rsurface.modelsurfaces, rsurface.rtlight); in R_Q1BSP_DrawLight()
|
H A D | r_sprites.c | 208 …te_Draw_TransparentCallback(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces,… in R_Model_Sprite_Draw_TransparentCallback() argument 433 … TRANSPARENTSORT_DISTANCE, org, R_Model_Sprite_Draw_TransparentCallback, ent, 0, rsurface.rtlight); in R_Model_Sprite_Draw()
|
H A D | render.h | 430 const rtlight_t *rtlight; member 503 void R_SetupShader_DeferredLight(const rtlight_t *rtlight);
|
H A D | r_explosion.c | 203 …plosion_TransparentCallback(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces,… in R_DrawExplosion_TransparentCallback() argument
|
/dports/games/xonotic/Xonotic/source/darkplaces/ |
H A D | r_shadow.c | 2043 rsurface.rtlight = rtlight; in R_Shadow_RenderMode_ActiveLight() 2455 rtlight = &light->rtlight; in R_Shadow_BounceGrid_CheckEnable() 2666 rtlight = &light->rtlight; in R_Shadow_BounceGrid_AssignPhotons() 3170 rtlight = &light->rtlight; in R_Shadow_BounceGrid_TracePhotons() 3871 rtlight->cullmins[0] = rtlight->shadoworigin[0] - rtlight->radius; in R_RTLight_Update() 3872 rtlight->cullmins[1] = rtlight->shadoworigin[1] - rtlight->radius; in R_RTLight_Update() 3873 rtlight->cullmins[2] = rtlight->shadoworigin[2] - rtlight->radius; in R_RTLight_Update() 5758 rtlight = &light->rtlight; in R_Shadow_DrawCoronas() 5791 rtlight = &light->rtlight; in R_Shadow_DrawCoronas() 5802 R_DrawCorona(rtlight, rtlight->corona, rtlight->radius * rtlight->coronasizescale * 2.0f); in R_Shadow_DrawCoronas() [all …]
|
H A D | meshqueue.c | 8 …void (*callback)(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces, int *surfa… 11 const rtlight_t *rtlight; member 34 … const rtlight_t *rtlight, int numsurfaces, int *surfacelist), const entity_render_t *ent, int sur… in R_MeshQueue_AddTransparent() argument 53 mq->rtlight = rtlight; in R_MeshQueue_AddTransparent() 68 const rtlight_t *rtlight; in R_MeshQueue_RenderTransparent() local 69 …void (*callback)(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces, int *surfa… in R_MeshQueue_RenderTransparent() 125 rtlight = NULL; in R_MeshQueue_RenderTransparent() 135 …if (ent != mqt->ent || rtlight != mqt->rtlight || callback != mqt->callback || batchnumsurfaces >=… in R_MeshQueue_RenderTransparent() 138 callback(ent, rtlight, batchnumsurfaces, batchsurfaceindex); in R_MeshQueue_RenderTransparent() 141 rtlight = mqt->rtlight; in R_MeshQueue_RenderTransparent() [all …]
|
H A D | meshqueue.h | 9 … const rtlight_t *rtlight, int numsurfaces, int *surfacelist), const entity_render_t *ent, int sur…
|
H A D | r_shadow.h | 105 void R_Shadow_RenderMode_ActiveLight(const rtlight_t *rtlight); 126 void R_RTLight_Update(rtlight_t *rtlight, int isstatic, matrix4x4_t *matrix, vec3_t color, int styl… 127 void R_RTLight_Compile(rtlight_t *rtlight); 128 void R_RTLight_Uncompile(rtlight_t *rtlight);
|
H A D | gl_rsurf.c | 335 static void R_DrawPortal_Callback(const entity_render_t *ent, const rtlight_t *rtlight, int numsurf… in R_DrawPortal_Callback() argument 396 …ORT_DISTANCE, center, R_DrawPortal_Callback, (entity_render_t *)portal, leafnum, rsurface.rtlight); in R_DrawPortals() 762 …tlight && R_CullBoxCustomPlanes(node->mins, node->maxs, rtlight->cached_numfrustumplanes, rtlight-… in R_Q1BSP_RecursiveGetLightInfo_BSP() 1082 …tlight && R_CullBoxCustomPlanes(node->mins, node->maxs, rtlight->cached_numfrustumplanes, rtlight-… in R_Q1BSP_RecursiveGetLightInfo_BIH() 1443 …awLight_TransparentCallback(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces,… in R_Q1BSP_DrawLight_TransparentCallback() argument 1451 R_Shadow_RenderMode_ActiveLight(rtlight); in R_Q1BSP_DrawLight_TransparentCallback() 1543 …r, R_Q1BSP_DrawLight_TransparentCallback, ent, surface - rsurface.modelsurfaces, rsurface.rtlight); in R_Q1BSP_DrawLight()
|
H A D | r_sprites.c | 208 …te_Draw_TransparentCallback(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces,… in R_Model_Sprite_Draw_TransparentCallback() argument 427 … TRANSPARENTSORT_DISTANCE, org, R_Model_Sprite_Draw_TransparentCallback, ent, 0, rsurface.rtlight); in R_Model_Sprite_Draw()
|
H A D | render.h | 437 const rtlight_t *rtlight; member 512 void R_SetupShader_DeferredLight(const rtlight_t *rtlight);
|
H A D | r_explosion.c | 203 …plosion_TransparentCallback(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces,… in R_DrawExplosion_TransparentCallback() argument
|
H A D | r_lightning.c | 220 …ingBeam_TransparentCallback(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces,… in R_DrawLightningBeam_TransparentCallback() argument
|
/dports/games/nexuiz/Nexuiz/sources/darkplaces/ |
H A D | meshqueue.c | 8 …void (*callback)(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces, int *surfa… 11 const rtlight_t *rtlight; member 29 … const rtlight_t *rtlight, int numsurfaces, int *surfacelist), const entity_render_t *ent, int sur… in R_MeshQueue_AddTransparent() argument 48 mq->rtlight = rtlight; in R_MeshQueue_AddTransparent() 61 const rtlight_t *rtlight; in R_MeshQueue_RenderTransparent() local 62 …void (*callback)(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces, int *surfa… in R_MeshQueue_RenderTransparent() 84 rtlight = NULL; in R_MeshQueue_RenderTransparent() 92 …if (ent != mqt->ent || rtlight != mqt->rtlight || callback != mqt->callback || batchnumsurfaces >=… in R_MeshQueue_RenderTransparent() 95 callback(ent, rtlight, batchnumsurfaces, batchsurfaceindex); in R_MeshQueue_RenderTransparent() 98 rtlight = mqt->rtlight; in R_MeshQueue_RenderTransparent() [all …]
|
H A D | r_shadow.c | 1442 rsurface.rtlight = rtlight; in R_Shadow_RenderMode_ActiveLight() 3048 rtlight->cullmins[0] = rtlight->shadoworigin[0] - rtlight->radius; in R_RTLight_Update() 3049 rtlight->cullmins[1] = rtlight->shadoworigin[1] - rtlight->radius; in R_RTLight_Update() 3050 rtlight->cullmins[2] = rtlight->shadoworigin[2] - rtlight->radius; in R_RTLight_Update() 3051 rtlight->cullmaxs[0] = rtlight->shadoworigin[0] + rtlight->radius; in R_RTLight_Update() 3052 rtlight->cullmaxs[1] = rtlight->shadoworigin[1] + rtlight->radius; in R_RTLight_Update() 3053 rtlight->cullmaxs[2] = rtlight->shadoworigin[2] + rtlight->radius; in R_RTLight_Update() 3076 rtlight->cullmins[0] = rtlight->shadoworigin[0] - rtlight->radius; in R_RTLight_Compile() 4154 rtlight = &light->rtlight; in R_DrawCoronas() 4187 rtlight = &light->rtlight; in R_DrawCoronas() [all …]
|
H A D | r_shadow.h | 46 void R_Shadow_RenderMode_ActiveLight(const rtlight_t *rtlight); 68 void R_RTLight_Update(rtlight_t *rtlight, int isstatic, matrix4x4_t *matrix, vec3_t color, int styl… 69 void R_RTLight_Compile(rtlight_t *rtlight); 70 void R_RTLight_Uncompile(rtlight_t *rtlight);
|
H A D | meshqueue.h | 6 … const rtlight_t *rtlight, int numsurfaces, int *surfacelist), const entity_render_t *ent, int sur…
|
H A D | r_sprites.c | 202 void R_Model_Sprite_Draw_TransparentCallback(const entity_render_t *ent, const rtlight_t *rtlight, … in R_Model_Sprite_Draw_TransparentCallback() argument 412 …T ? r_refdef.view.origin : org, R_Model_Sprite_Draw_TransparentCallback, ent, 0, rsurface.rtlight); in R_Model_Sprite_Draw()
|
H A D | gl_rsurf.c | 332 static void R_DrawPortal_Callback(const entity_render_t *ent, const rtlight_t *rtlight, int numsurf… in R_DrawPortal_Callback() argument 394 …ddTransparent(center, R_DrawPortal_Callback, (entity_render_t *)portal, leafnum, rsurface.rtlight); in R_DrawPortals() 1103 …awLight_TransparentCallback(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces,… in R_Q1BSP_DrawLight_TransparentCallback() argument 1110 R_Shadow_RenderMode_ActiveLight(rtlight); in R_Q1BSP_DrawLight_TransparentCallback() 1191 …r, R_Q1BSP_DrawLight_TransparentCallback, ent, surface - rsurface.modelsurfaces, rsurface.rtlight); in R_Q1BSP_DrawLight()
|
H A D | render.h | 327 const rtlight_t *rtlight; member
|
H A D | r_explosion.c | 187 …plosion_TransparentCallback(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces,… in R_DrawExplosion_TransparentCallback() argument
|