Home
last modified time | relevance | path

Searched refs:texunit_lightmap (Results 1 – 8 of 8) sorted by relevance

/dports/games/ufoai/ufoai-2.5-source/src/client/renderer/
H A Dr_array.cpp71 if (texunit_lightmap.enabled) in R_ArraysMask()
102 if (texunit_lightmap.enabled) { /* lightmap texcoords */ in R_SetVertexArrayState()
104 R_SelectTexture(&texunit_lightmap); in R_SetVertexArrayState()
142 if (texunit_lightmap.enabled) { in R_SetVertexBufferState()
144 R_SelectTexture(&texunit_lightmap); in R_SetVertexBufferState()
212 if (texunit_lightmap.enabled) { in R_ResetArrayState()
213 R_SelectTexture(&texunit_lightmap); in R_ResetArrayState()
H A Dr_bsp.cpp424 R_EnableTexture(&texunit_lightmap, true); in R_RenderOpaqueBspRRefs()
432 R_EnableTexture(&texunit_lightmap, false); in R_RenderOpaqueBspRRefs()
477 R_EnableTexture(&texunit_lightmap, true); in R_RenderBlendBspRRefs()
481 R_EnableTexture(&texunit_lightmap, false); in R_RenderBlendBspRRefs()
H A Dr_sphere.cpp180 R_EnableTexture(&texunit_lightmap, true); in R_SphereShade()
181 R_SelectTexture(&texunit_lightmap); in R_SphereShade()
197 R_EnableTexture(&texunit_lightmap, false); in R_SphereShade()
H A Dr_material.cpp137 R_EnableTexture(&texunit_lightmap, true); in R_StageLighting()
156 R_EnableTexture(&texunit_lightmap, false); in R_StageLighting()
357 R_ReallocateTexunitArray(&texunit_lightmap, surf->numedges); in R_DrawSurfaceStage()
367 if (texunit_lightmap.enabled) { in R_DrawSurfaceStage()
369 texunit_lightmap.texcoord_array[i * 2 + 0] = st[0]; in R_DrawSurfaceStage()
370 texunit_lightmap.texcoord_array[i * 2 + 1] = st[1]; in R_DrawSurfaceStage()
424 R_EnableTexture(&texunit_lightmap, false); in R_DrawMaterialSurfaces()
471 R_EnableTexture(&texunit_lightmap, false); in R_DrawMaterialSurfaces()
H A Dr_geoscape.cpp98 R_EnableTexture(&texunit_lightmap, true); in R_DrawFlatGeoscape()
99 R_SelectTexture(&texunit_lightmap); in R_DrawFlatGeoscape()
119 R_SelectTexture(&texunit_lightmap); in R_DrawFlatGeoscape()
122 R_EnableTexture(&texunit_lightmap, false); in R_DrawFlatGeoscape()
146 R_EnableTexture(&texunit_lightmap, true); in R_DrawFlatGeoscape()
153 R_EnableTexture(&texunit_lightmap, false); in R_DrawFlatGeoscape()
H A Dr_state.cpp92 R_BindTextureForTexUnit(texnum, &texunit_lightmap); in R_BindLightmapTexture()
318 if (texunit == &texunit_lightmap) { in R_EnableTexture()
509 R_SelectTexture(&texunit_lightmap); in R_EnableWarp()
536 R_SelectTexture(&texunit_lightmap); in R_EnableBlur()
972 R_SelectTexture(&texunit_lightmap); /* abuse lightmap texture unit for color manipulation */ in R_TexOverride()
H A Dr_surface.cpp80 if (texunit_lightmap.enabled) { /* lightmap */ in R_SetSurfaceState()
H A Dr_state.h67 #define texunit_lightmap texunit_1 macro