id-tech-3-tools / map-compiler

id Tech 3 Map Compiler
MIT License
8 stars 4 forks source link

floodlight with styles leaks light through solid brushes #4

Closed isRyven closed 6 years ago

Aciz commented 6 years ago

The issue isn't that light leaks through brushes. The issue is that the light radius is ignored; every surface that gets hit by a styled light gets fully illuminated, and theres no intensity falloff based on the origin of the light.

Aciz commented 6 years ago

Fixed, floodlighting algorithm adjusted to prevent overbrighted styled lightmaps + added -nofloodstyles switch to disable floodlighting on styled lightmaps.