Commit Graph

70 Commits

Author SHA1 Message Date
mittorn
338b404055 ref_soft: clamp alpha values 2019-04-04 10:27:18 +07:00
mittorn
500ff629bf ref_soft: decrease alpha to make water visible again 2019-04-04 10:01:11 +07:00
mittorn
033a947631 ref_soft: set minor bits in alpha map to make it more accurate 2019-04-04 09:38:17 +07:00
mittorn
c08c35df69 ref_soft: FillRGBA, FillRGBABlend 2019-04-04 04:44:06 +07:00
mittorn
cefe42fd66 ref_soft: Fix R_NewMap, prevent crashes on changelevel/restart 2019-04-04 02:56:29 +07:00
mittorn
e0cd5edddb ref_soft: Ignore non-horizontal water planes 2019-04-04 02:38:57 +07:00
mittorn
ebd1da2730 ref_soft: Transform dlights for entitites 2019-04-04 02:00:24 +07:00
mittorn
4bbcd5daef ref_soft: Use r_math, this will fix beamfollow and glow sprites 2019-04-04 01:32:06 +07:00
mittorn
8d88ecb951 ref_soft: Remove more unused globals/functions 2019-04-04 00:29:35 +07:00
mittorn
b5e1382232 ref_soft: Merge some globals 2019-04-04 00:12:57 +07:00
mittorn
8f5c72c510 ref_soft: Add macro to disable texture filter preventing slowdown on cvar checking 2019-04-03 23:24:10 +07:00
mittorn
c52453faa3 ref_soft: Remove r_poly 2019-04-03 23:01:25 +07:00
mittorn
8c9aa2588c ref_soft: Fix studio rendermodes, add additive brush rendermode 2019-04-03 22:55:46 +07:00
mittorn
d03d29f6f5 ref_soft: Fix transparency in API 2019-04-03 22:21:08 +07:00
mittorn
77f8da275a ref_soft: Extend edge drawing with zbuffer support, draw transparent brushes with it 2019-04-03 22:20:33 +07:00
mittorn
0c6c0003b1 ref_soft: Bound texcoords again, disable drawing spans on FloorDivMod overflow 2019-04-01 02:42:13 +07:00
mittorn
1c49d76fb7 ref_soft: Fix some integer overflows 2019-04-01 01:55:37 +07:00
mittorn
714084bf5b ref_soft: Fix hang on big texcoords 2019-03-31 20:57:29 +07:00
mittorn
2efdf56317 ref_soft: fix particles 2019-03-31 19:07:55 +07:00
mittorn
7fc09da482 ref_soft: TriAPI texturing, rendermodes 2019-03-31 18:00:25 +07:00
mittorn
d315a838bd ref_soft: invalidata all caches on dlight rebuild 2019-03-31 03:44:57 +07:00
mittorn
6879c1f097 ref_soft: Remove R_ConcatTransform, try fix transparent bmodels origin 2019-03-31 03:18:03 +07:00
mittorn
25860f6263 ref_soft: remove some unused globals 2019-03-31 02:05:08 +07:00
mittorn
c52d4b7998 ref_soft: Restore lightmap gamma calculation 2019-03-30 21:16:14 +07:00
mittorn
0c62967d8a ref_soft: re-enable lightstyles for LightPoint 2019-03-30 21:04:14 +07:00
mittorn
f34db62940 ref_soft: Add sprite, EFX 2019-03-30 20:24:58 +07:00
mittorn
b0ed8a5ba3 ref_soft: Fix some UB 2019-03-30 04:50:18 +07:00
mittorn
95ff769020 ref_soft: Add option to disable slow brush transparency 2019-03-30 02:41:36 +07:00
mittorn
9b158f5926 ref_soft: Studio alpha blending 2019-03-30 01:34:57 +07:00
mittorn
29c2169012 ref_soft: improve alpha map 2019-03-29 21:37:21 +07:00
mittorn
56ef16b0f9 ref_soft: enable stiple alpha by default, cache conveyors 2019-03-29 03:52:08 +07:00
mittorn
eeda097603 ref_soft: Fix water 2019-03-29 02:13:45 +07:00
mittorn
77e296ffef ref_soft: Add r_poly, transparent brushes support 2019-03-29 02:02:54 +07:00
mittorn
72d5dfed34 ref_soft: Fill sky, enable turb code (not working correctly) 2019-03-28 03:42:28 +07:00
mittorn
7f8caf1634 ref_soft: Fix crash on glowshell, tune decals blending 2019-03-28 02:33:49 +07:00
mittorn
1871f39b2b ref_soft: Decals support 2019-03-28 02:05:19 +07:00
mittorn
6eae7acd34 ref_soft: lightstyle support 2019-03-27 21:34:37 +07:00
mittorn
36a5247181 ref_soft: bmodel dlights (ignore transform) 2019-03-27 21:16:33 +07:00
mittorn
153b8cbcc3 ref_soft: Xash3D lightmaps and dynamic lighting (world only) 2019-03-27 21:09:44 +07:00
mittorn
44a8ede94d ref_soft: Re-enable lightvec calculation 2019-03-27 20:17:58 +07:00
mittorn
529bb53d52 ref_soft: Static quake-based lightmap (does not work with extended bsp) 2019-03-27 19:57:37 +07:00
mittorn
b35415637b ref_soft: colormap support, basic studiomodel lighting 2019-03-27 17:53:42 +07:00
mittorn
35e42a2295 ref_soft: Viewmodel support 2019-03-26 22:57:34 +07:00
mittorn
dbabb861f2 ref_soft: studiomodel texturing, finally fix TRIANGLE_STRIP 2019-03-26 16:39:16 +07:00
mittorn
224bf07930 ref_soft: Fix TRIANGLE_STRIP draw 2019-03-26 06:01:20 +07:00
mittorn
870ae030ca ref_soft: Simple triapi and studio rendering (flat fill only) 2019-03-26 05:53:00 +07:00
mittorn
9ba39f65b3 ref_soft: Triangle drawing 2019-03-26 03:12:35 +07:00
mittorn
3d8fe065b5 ref_soft: Fix windows build 2019-03-25 21:18:47 +07:00
mittorn
513381a322 ref_soft: Flush caches and clear textures on newmap correctly 2019-03-25 11:59:25 +07:00
mittorn
c36f415793 ref_soft: Do not clip submodels with negative topnode content (fix crash on some maps) 2019-03-25 11:46:37 +07:00