Commit graph

21 commits

Author SHA1 Message Date
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
62188d1ea5 Change the line portal shape to be determined by the same code that decides the shape of other walls 2016-11-26 07:06:10 +01:00
Magnus Norddahl
cc3ac9ea05 Line portal rendering 2016-11-25 23:44:55 +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
80a5f81f9a Fix typo affecting walls on sloped floors 2016-11-23 23:29:53 +01:00
Magnus Norddahl
dacb985878 Fix texture mapping bug 2016-11-22 01:59:28 +01:00
Magnus Norddahl
7af504df58 Draw 3d floor sides 2016-11-21 20:50:54 +01:00
Rachael Alexanderson
dadee080e4 - Implemented Wall blend modes
- fixed: set color for "shaded" modes - though it's still not yet properly implemented.
2016-11-20 18:36:26 -05: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
ff2ab61abc Added decals 2016-11-16 23:34:05 +01:00
Magnus Norddahl
449d4963ae Mapping error workaround 2016-11-16 01:13:29 +01:00
Magnus Norddahl
a092a03c6d Some basic fixed light support 2016-11-15 23:30:42 +01:00
Magnus Norddahl
cfc977f9e6 Fix texture coordinate 2016-11-15 18:14:18 +01:00
Magnus Norddahl
f143b9b7b0 Fix midtexture repeat and yoffset bug 2016-11-15 12:31:57 +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