Searched refs:ambientlight (Results 1 - 16 of 16) sorted by relevance

/external/quake/quake/src/QW/client/
H A Dgl_rmain.c279 float shadelight, ambientlight; variable
526 ambientlight = shadelight = R_LightPoint (currententity->origin);
529 if (e == &cl.viewent && ambientlight < 24)
530 ambientlight = shadelight = 24;
542 ambientlight += add;
550 if (ambientlight > 128)
551 ambientlight = 128;
552 if (ambientlight + shadelight > 192)
553 shadelight = 192 - ambientlight;
557 if (ambientlight <
711 int ambientlight, shadelight; local
[all...]
H A Drender.h94 int ambientlight; member in struct:__anon11407
H A Dr_main.c582 lighting.ambientlight = j;
597 lighting.ambientlight += add;
602 if (lighting.ambientlight > 128)
603 lighting.ambientlight = 128;
604 if (lighting.ambientlight + lighting.shadelight > 192)
605 lighting.shadelight = 192 - lighting.ambientlight;
656 r_viewlighting.ambientlight = j;
673 r_viewlighting.ambientlight += add;
677 if (r_viewlighting.ambientlight > 128)
678 r_viewlighting.ambientlight
[all...]
H A Dr_light.c255 if (r < r_refdef.ambientlight)
256 r = r_refdef.ambientlight;
H A Dr_misc.c475 r_refdef.ambientlight = r_ambient.value;
477 if (r_refdef.ambientlight < 0)
478 r_refdef.ambientlight = 0;
H A Dr_local.h37 int ambientlight; member in struct:__anon11405
H A Dr_surf.c158 blocklights[i] = r_refdef.ambientlight<<8;
H A Dr_alias.c637 r_ambientlight = plighting->ambientlight;
/external/quake/quake/src/WinQuake/
H A Dr_main.cpp565 lighting.ambientlight = j;
580 lighting.ambientlight += add;
585 if (lighting.ambientlight > 128)
586 lighting.ambientlight = 128;
587 if (lighting.ambientlight + lighting.shadelight > 192)
588 lighting.shadelight = 192 - lighting.ambientlight;
639 r_viewlighting.ambientlight = j;
656 r_viewlighting.ambientlight += add;
660 if (r_viewlighting.ambientlight > 128)
661 r_viewlighting.ambientlight
[all...]
H A Dgl_rmain.cpp306 float shadelight, ambientlight; variable
617 ambientlight = shadelight = R_LightPoint (currententity->origin);
620 if (e == &cl.viewent && ambientlight < 24)
621 ambientlight = shadelight = 24;
633 ambientlight += add;
641 if (ambientlight > 128)
642 ambientlight = 128;
643 if (ambientlight + shadelight > 192)
644 shadelight = 192 - ambientlight;
649 if (ambientlight <
799 int ambientlight, shadelight; local
[all...]
H A Drender.h100 int ambientlight; member in struct:__anon11807
H A Dr_misc.cpp402 r_refdef.ambientlight = r_ambient.value;
404 if (r_refdef.ambientlight < 0)
405 r_refdef.ambientlight = 0;
H A Dr_light.cpp255 if (r < r_refdef.ambientlight)
256 r = r_refdef.ambientlight;
H A Dr_local.h36 int ambientlight; member in struct:__anon11805
H A Dr_surf.cpp175 blocklights[i] = r_refdef.ambientlight<<8;
H A Dr_alias.cpp622 r_ambientlight = plighting->ambientlight;

Completed in 210 milliseconds