Commit graph

23 commits

Author SHA1 Message Date
Magnus Norddahl
f1df400cc7 Add some portal segment culling and disable sector portals for now 2016-12-09 03:17:35 +01:00
Magnus Norddahl
e09c7d239f Adjust class naming to closer match the GZDoom renderer and split portal rendering part to its own file 2016-12-03 14:58:56 +01:00
Magnus Norddahl
9416d436fe Move software renderer into its own namespace to isolate its globals and make
any access explicit. This reveals the places in the code where they are being
accessed where they shouldn't and prevents accidental usage.
2016-12-01 02:38:32 +01:00
Magnus Norddahl
1a16776dff Plane texturing adjustments 2016-11-27 04:39:33 +01:00
Magnus Norddahl
c37ce1fdbc Add plane clipping to the triangle drawer 2016-11-26 10:49:29 +01:00
Magnus Norddahl
70181f4146 Always access args.uniforms directly instead of first creating a TriUniforms variable 2016-11-26 07:35:04 +01:00
Magnus Norddahl
eaa15f2b74 Render other sector portal types 2016-11-25 20:19:35 +01:00
Magnus Norddahl
93af906a1d Add support for multiple portals 2016-11-25 17:14:26 +01:00
Magnus Norddahl
b2ad26d2d5 Sealing off portal entrances for the transparency pass 2016-11-25 07:44:51 +01:00
Magnus Norddahl
1def7b3eae More portal handling stuff 2016-11-25 01:08:25 +01:00
Magnus Norddahl
558a4bcdca Partial sky portal support 2016-11-24 23:08:36 +01:00
Magnus Norddahl
cff72fb072 Add stencil value to decal, particle, plane, port, sky, sprite, wall and wallsprite classes 2016-11-24 08:23:50 +01:00
Magnus Norddahl
47aaf781c6 Split RenderPolyScene into two to allow rendering from multiple viewpoints 2016-11-24 05:51:37 +01:00
Magnus Norddahl
6761e8639a Add palette support 2016-11-20 04:06:21 +01:00
Magnus Norddahl
7ac0cace7d Stop copying the matrix and remove r_triangle 2016-11-20 02:07:55 +01:00
Magnus Norddahl
272fe7f754 Added blending modes to triangle codegen 2016-11-19 02:53:32 +01:00
Magnus Norddahl
dbb6c7ca27 Add support for specifying a viewport out of screen bounds and fixed statusbar by doing just that! 2016-11-18 01:58:39 +01:00
Magnus Norddahl
f457f0340c Add 3D floor planes 2016-11-16 11:18:40 +01:00
Magnus Norddahl
a092a03c6d Some basic fixed light support 2016-11-15 23:30:42 +01:00
Magnus Norddahl
1b3d50951a Fix sky floodfill bug 2016-11-15 22:48:44 +01:00
Magnus Norddahl
ee15856786 Deep water support 2016-11-15 15:15:26 +01:00
Magnus Norddahl
e5f8af2216 Fix sky flood fill for E1M8 and Map11 2016-11-14 23:22:38 +01:00
Magnus Norddahl
3673338644 Split r_poly into multiple files handling each aspect of rendering a scene 2016-11-14 14:19:48 +01:00