Searched refs:ambientrgb (Results 1 – 8 of 8) sorted by relevance
/dports/games/xonotic/Xonotic/source/darkplaces/ |
H A D | model_brush.h | 636 unsigned char ambientrgb[3]; member
|
H A D | model_brush.c | 6571 out[i].ambientrgb[0] = floor(Image_LinearFloatFromsRGB(out[i].ambientrgb[0]) * 255.0f + 0.5f); in Mod_Q3BSP_LoadLightGrid() 6572 out[i].ambientrgb[1] = floor(Image_LinearFloatFromsRGB(out[i].ambientrgb[1]) * 255.0f + 0.5f); in Mod_Q3BSP_LoadLightGrid() 6573 out[i].ambientrgb[2] = floor(Image_LinearFloatFromsRGB(out[i].ambientrgb[2]) * 255.0f + 0.5f); in Mod_Q3BSP_LoadLightGrid() 6586 …out[i].ambientrgb[0] = floor(Image_sRGBFloatFromLinear_Lightmap(out[i].ambientrgb[0]) * 255.0f + 0… in Mod_Q3BSP_LoadLightGrid() 6587 …out[i].ambientrgb[1] = floor(Image_sRGBFloatFromLinear_Lightmap(out[i].ambientrgb[1]) * 255.0f + 0… in Mod_Q3BSP_LoadLightGrid() 6588 …out[i].ambientrgb[2] = floor(Image_sRGBFloatFromLinear_Lightmap(out[i].ambientrgb[2]) * 255.0f + 0… in Mod_Q3BSP_LoadLightGrid() 6703 VectorMA(ambientcolor, blend * (1.0f / 128.0f), s->ambientrgb, ambientcolor); in Mod_Q3BSP_LightPoint()
|
H A D | model_shared.c | 3952 s->ambientrgb[0] = (unsigned char)bound(0.0f, ambient[0], 255.0f); in Mod_GenerateLightmaps_GridSample() 3953 s->ambientrgb[1] = (unsigned char)bound(0.0f, ambient[1], 255.0f); in Mod_GenerateLightmaps_GridSample() 3954 s->ambientrgb[2] = (unsigned char)bound(0.0f, ambient[2], 255.0f); in Mod_GenerateLightmaps_GridSample()
|
/dports/games/darkplaces/darkplaces/ |
H A D | model_brush.h | 634 unsigned char ambientrgb[3]; member
|
H A D | model_brush.c | 6650 out[i].ambientrgb[0] = floor(Image_LinearFloatFromsRGB(out[i].ambientrgb[0]) * 255.0f + 0.5f); in Mod_Q3BSP_LoadLightGrid() 6651 out[i].ambientrgb[1] = floor(Image_LinearFloatFromsRGB(out[i].ambientrgb[1]) * 255.0f + 0.5f); in Mod_Q3BSP_LoadLightGrid() 6652 out[i].ambientrgb[2] = floor(Image_LinearFloatFromsRGB(out[i].ambientrgb[2]) * 255.0f + 0.5f); in Mod_Q3BSP_LoadLightGrid() 6665 …out[i].ambientrgb[0] = floor(Image_sRGBFloatFromLinear_Lightmap(out[i].ambientrgb[0]) * 255.0f + 0… in Mod_Q3BSP_LoadLightGrid() 6666 …out[i].ambientrgb[1] = floor(Image_sRGBFloatFromLinear_Lightmap(out[i].ambientrgb[1]) * 255.0f + 0… in Mod_Q3BSP_LoadLightGrid() 6667 …out[i].ambientrgb[2] = floor(Image_sRGBFloatFromLinear_Lightmap(out[i].ambientrgb[2]) * 255.0f + 0… in Mod_Q3BSP_LoadLightGrid() 6782 VectorMA(ambientcolor, blend * (1.0f / 128.0f), s->ambientrgb, ambientcolor); in Mod_Q3BSP_LightPoint()
|
H A D | model_shared.c | 4056 s->ambientrgb[0] = (unsigned char)bound(0.0f, ambient[0], 255.0f); in Mod_GenerateLightmaps_GridSample() 4057 s->ambientrgb[1] = (unsigned char)bound(0.0f, ambient[1], 255.0f); in Mod_GenerateLightmaps_GridSample() 4058 s->ambientrgb[2] = (unsigned char)bound(0.0f, ambient[2], 255.0f); in Mod_GenerateLightmaps_GridSample()
|
/dports/games/nexuiz/Nexuiz/sources/darkplaces/ |
H A D | model_brush.h | 610 unsigned char ambientrgb[3]; member
|
H A D | model_brush.c | 5512 VectorMA(ambientcolor, blend * (1.0f / 128.0f), s->ambientrgb, ambientcolor); in Mod_Q3BSP_LightPoint()
|