raze-gles/source/games
Christoph Oelckers f6568fee0c - rewrote SW portal setup to use static data instead of ad-hoc setup.
This was by far the messiest game, there's two reasons for this.
First, the portal links do not need to be in an actual portal sector, so they cannot be used to detect portal sectors.
Second, the game moves portals in place, so all offsets are (0,0,0) so that not even these can be used for detection.

The only working method is the super-complicated original way to look up portals at run time, just being done at map start.
Having static portal links should reduce the render glitches quite significantly because the renderer knows now which sectors belong to a portal and can use this information to ensure proper processing.
2021-03-25 21:21:48 +01:00
..
blood - Accept binangle, fixedhoriz and lookangle classes in SetupViewpoint() vs. Q16.16 variables. 2021-03-25 19:06:01 +11:00
duke - moved shadeToLight out of build.h. 2021-03-25 09:13:59 +01:00
exhumed - moved shadeToLight out of build.h. 2021-03-25 09:13:59 +01:00
sw - rewrote SW portal setup to use static data instead of ad-hoc setup. 2021-03-25 21:21:48 +01:00