netradiant-custom/tools/quake3
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
..
common try to fix MAC compilation #40 2020-04-04 19:40:56 +03:00
q3data fix some warnings 2020-02-07 23:00:19 +03:00
q3map2 Fix q3 compatibility bug with lightgrid and only one light. 2020-04-18 09:16:57 +03:00
q3maporigin2originbrush.pl a Q3 map origin to origin brush converter to fix maps that this q3map2 no longer compiles correctly 2009-05-05 09:59:40 +00:00