Searched refs:texunit_lightmap (Results 1 – 8 of 8) sorted by relevance
/dports/games/ufoai/ufoai-2.5-source/src/client/renderer/ |
H A D | r_array.cpp | 71 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 D | r_bsp.cpp | 424 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 D | r_sphere.cpp | 180 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 D | r_material.cpp | 137 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 D | r_geoscape.cpp | 98 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 D | r_state.cpp | 92 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 D | r_surface.cpp | 80 if (texunit_lightmap.enabled) { /* lightmap */ in R_SetSurfaceState()
|
H A D | r_state.h | 67 #define texunit_lightmap texunit_1 macro
|