Searched refs:lightmap (Results 1 - 8 of 8) sorted by relevance

/external/quake/quake/src/QW/client/
H A Dr_light.c152 byte *lightmap; local
212 lightmap = surf->samples;
214 if (lightmap)
217 lightmap += dt * ((surf->extents[0]>>4)+1) + ds;
223 r += *lightmap * scale;
224 lightmap += ((surf->extents[0]>>4)+1) *
H A Dgl_rlight.c278 byte *lightmap; local
340 lightmap = surf->samples;
342 if (lightmap)
345 lightmap += dt * ((surf->extents[0]>>4)+1) + ds;
351 r += *lightmap * scale;
352 lightmap += ((surf->extents[0]>>4)+1) *
H A Dr_surf.c137 byte *lightmap; local
147 lightmap = surf->samples;
162 if (lightmap)
168 blocklights[i] += lightmap[i] * scale;
169 lightmap += size; // skip to next lightmap
H A Dgl_rsurf.c53 // the lightmap texture data needs to be kept in
143 byte *lightmap; local
153 lightmap = surf->samples;
168 if (lightmap)
175 blocklights[i] += lightmap[i] * scale;
176 lightmap += size; // skip to next lightmap
220 Sys_Error ("Bad lightmap format");
394 // underwater warped with lightmap
442 // Binds lightmap t
[all...]
/external/quake/quake/src/WinQuake/
H A Dr_light.cpp152 byte *lightmap; local
212 lightmap = surf->samples;
214 if (lightmap)
217 lightmap += dt * ((surf->extents[0]>>4)+1) + ds;
223 r += *lightmap * scale;
224 lightmap += ((surf->extents[0]>>4)+1) *
H A Dgl_rlight.cpp281 byte *lightmap; local
343 lightmap = surf->samples;
345 if (lightmap)
348 lightmap += dt * ((surf->extents[0]>>4)+1) + ds;
354 r += *lightmap * scale;
355 lightmap += ((surf->extents[0]>>4)+1) *
H A Dr_surf.cpp154 byte *lightmap; local
164 lightmap = surf->samples;
179 if (lightmap)
185 blocklights[i] += lightmap[i] * scale;
186 lightmap += size; // skip to next lightmap
H A Dgl_rsurf.cpp53 // the lightmap texture data needs to be kept in
143 byte *lightmap; local
154 lightmap = surf->samples;
169 if (lightmap)
176 blocklights[i] += lightmap[i] * scale;
177 lightmap += size; // skip to next lightmap
221 Sys_Error ("Bad lightmap format");
390 // underwater warped with lightmap
439 // Binds lightmap t
[all...]

Completed in 87 milliseconds