]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_shadow.c
reworked the entire config loading system for the gamedir command
[xonotic/darkplaces.git] / r_shadow.c
index 0030b2f80ee3603d0c11fc67dbc383a63e51867e..971b196afbe5893f389890e6679950f634373501 100644 (file)
@@ -743,11 +743,6 @@ void R_Shadow_Init(void)
        Cvar_RegisterVariable(&gl_flashblend);
        Cvar_RegisterVariable(&gl_ext_separatestencil);
        Cvar_RegisterVariable(&gl_ext_stenciltwoside);
-       if (gamemode == GAME_TENEBRAE)
-       {
-               Cvar_SetValue("r_shadow_gloss", 2);
-               Cvar_SetValue("r_shadow_bumpscale_basetexture", 4);
-       }
        R_Shadow_EditLights_Init();
        Mem_ExpandableArray_NewArray(&r_shadow_worldlightsarray, r_main_mempool, sizeof(dlight_t), 128);
        maxshadowtriangles = 0;