Skip to content

Commit

Permalink
fix gate on lightgrid
Browse files Browse the repository at this point in the history
  • Loading branch information
Paril committed Jan 17, 2024
1 parent 844b970 commit 0ff4e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion light/ltface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0ff4e8d

Please sign in to comment.