Searched refs:lightpic (Results 1 – 3 of 3) sorted by relevance
144 GLSL_SubpicUpdate (surf->lightpic, (byte *) blocklights, 1); in R_BuildLightMap_1()177 GLSL_SubpicUpdate (surf->lightpic, (byte *) blocklights, 1); in R_BuildLightMap_1()186 surf->lightpic = GLSL_ScrapSubpic (light_scrap, smax, tmax); in create_surf_lightmap()187 if (!surf->lightpic) in create_surf_lightmap()223 surf->lightpic = 0; // paranoia in glsl_R_BuildLightmaps()244 if (surf->lightpic) in glsl_R_BuildLightmaps()
498 if (!fa->lightpic) { in build_surf_displist()508 s += fa->lightpic->rect->x * 16 + 8; in build_surf_displist()509 t += fa->lightpic->rect->y * 16 + 8; in build_surf_displist()512 verts[i].tlst[2] = s * fa->lightpic->size; in build_surf_displist()513 verts[i].tlst[3] = t * fa->lightpic->size; in build_surf_displist()
171 struct subpic_s *lightpic; ///< light map texture ref (glsl) member