Commit graph

12 commits

Author SHA1 Message Date
Magnus Norddahl
adb65ce72a Remove TriDrawVariant 2016-12-16 00:35:45 +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
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
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
bd9ec843dd Add palette version of the blend modes 2016-11-20 16:42:53 +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
511eb59479 Add particle drawing 2016-11-17 01:29:08 +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