disable gate on high quality

This commit is contained in:
Jonathan 2024-01-14 23:10:21 -05:00
parent 07e050f484
commit a04bb771ce
1 changed files with 1 additions and 1 deletions

View File

@ -1976,7 +1976,7 @@ LightFace_SurfaceLight(const mbsp_t *bsp, lightsurf_t *lightsurf, lightmapdict_t
const double &standard_scale, const double &sky_scale, const float &hotspot_clamp)
{
const settings::worldspawn_keys &cfg = *lightsurf->cfg;
const float surflight_gate = 0.01f;
const float surflight_gate = light_options.emissivequality.value() == emissivequality_t::HIGH ? 0 : 0.01f;
// check lighting channels (currently surface lights are always on CHANNEL_MASK_DEFAULT)
if (!(lightsurf->object_channel_mask & CHANNEL_MASK_DEFAULT)) {