fix gate on lightgrid

This commit is contained in:
Jonathan 2024-01-17 02:27:50 -05:00
parent 844b9706d0
commit 0ff4e8ddd5
1 changed files with 1 additions and 1 deletions

View File

@ -2085,7 +2085,7 @@ LightPoint_SurfaceLight(const mbsp_t *bsp, const std::vector<uint8_t> *pvs, rays
lightgrid_samples_t &result)
{
const settings::worldspawn_keys &cfg = light_options;
const float surflight_gate = 0.01f;
const float surflight_gate = light_options.emissivequality.value() == emissivequality_t::HIGH ? 0 : 0.01f;
for (const auto &surf : EmissiveLightSurfaces()) {
const surfacelight_t &vpl = *surf->vpl;