netradiant-custom/tools
Garux 49b725a1b2 Fix q3 compatibility bug with lightgrid and only one light.
Correct math requires the ambient component of the lightgrid to be zero
in that case. However, q3 ignores lightgrid cells with all zero ambient
value, EVEN if the directed value is nonzero.

This change sets the ambient value to #010101 if it'd be pitch black. This
should be a minimal change without affecting light hue that fixes
lightgrid rendering. In engines like DarkPlaces, almost no map should
look different from this.

Fixes https://gitlab.com/xonotic/netradiant/-/issues/137
2020-04-18 09:16:57 +03:00
..
mbspc try to fix MAC compilation #40 2020-04-04 20:46:04 +03:00
quake2 fix some warnings 2020-02-07 23:00:19 +03:00
quake3 Fix q3 compatibility bug with lightgrid and only one light. 2020-04-18 09:16:57 +03:00