X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=r_light.c;fp=r_light.c;h=ec50a8d8d32cb7283f444d90e03f5016319176f5;hb=d159736a199e4043ed98cde48f6d5716ec40845c;hp=69b5097e425b3a4aab7afa817eb449afdc18abd1;hpb=890d4c00928b263763b460cb6f5b6a828fd4afc7;p=xonotic%2Fdarkplaces.git diff --git a/r_light.c b/r_light.c index 69b5097e..ec50a8d8 100644 --- a/r_light.c +++ b/r_light.c @@ -23,9 +23,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "cl_collision.h" #include "r_shadow.h" -cvar_t r_modellights = {CVAR_SAVE, "r_modellights", "4"}; -cvar_t r_coronas = {CVAR_SAVE, "r_coronas", "1"}; -cvar_t gl_flashblend = {CVAR_SAVE, "gl_flashblend", "0"}; +cvar_t r_modellights = {CVAR_SAVE, "r_modellights", "4", "how many lights from a .lights file (produced by hlight) are worthy of directional shading on a model (others are applied to the whole model as ambient lighting)"}; +cvar_t r_coronas = {CVAR_SAVE, "r_coronas", "1", "brightness of corona flare effects around certain lights, 0 disables corona effects"}; +cvar_t gl_flashblend = {CVAR_SAVE, "gl_flashblend", "0", "render bright coronas for dynamic lights instead of actual lighting, fast but ugly"}; static rtexture_t *lightcorona; static rtexturepool_t *lighttexturepool;