Commit graph

283 commits

Author SHA1 Message Date
OM
0c92890ef2 Implemented CGEN_STATIC 2023-05-19 16:59:08 +02:00
OM
03e8a64283 Added parent support in *RE_AddRefEntityToScene* 2023-05-19 16:58:46 +02:00
OM
4a49b15649 Removed CONTENTS_FOG
Added more surface params
2023-05-19 13:56:07 +02:00
OM
6c448694b6 Fixed static models color rendering 2023-05-19 13:40:29 +02:00
OM
34a1cee89b Made sure to unpack static models correctly 2023-05-19 13:40:18 +02:00
OM
29239dadfa Don't call ri.Hunk_Alloc when there are no texmods 2023-05-19 13:40:03 +02:00
OM
e5a4574f92 Added *R_DistanceCullPointAndRadius* 2023-05-19 13:39:31 +02:00
OM
2d70547f9d Cleanup 2023-05-19 03:21:04 +02:00
OM
f6279e8c17 *R_RecursiveWorldNode* now take the fog frustum into account, it also calls *R_AddPermanentMarkFragmentSurfaces* and set the vis static models 2023-05-19 03:20:50 +02:00
OM
18ade839c6 Added more shader commands
More fox support
2023-05-19 03:19:56 +02:00
OM
b72eb8c6cc Using PLANE_NON_AXIAL instead of 3 2023-05-19 03:13:37 +02:00
OM
e0446db81d Added one more mark function 2023-05-19 03:13:23 +02:00
OM
a8bb9aaa77 Using qglFogi instead 2023-05-19 03:12:55 +02:00
OM
6595c3c673 Added sprites and ter marks to the render scene 2023-05-19 02:12:03 +02:00
OM
4ecf3195a5 Added *R_CullLocalBoxOffset* 2023-05-19 02:11:45 +02:00
OM
02f0e309e3 Implemented *R_ClearRealDlights*, *R_UploadDlights* and *R_AllocLMBlock* 2023-05-19 02:11:28 +02:00
OM
0fdfcf48f9 Added *RB_ComputeShadowVolume* (not implemented) 2023-05-19 02:10:56 +02:00
OM
e9b5c7efd5 Initialize extension and level marks
Initialize the font debug string
2023-05-19 02:10:38 +02:00
OM
2a32b75815 Added GL flags 2023-05-19 02:10:19 +02:00
OM
d966afe4ef Added *g_bInfoworldtris* 2023-05-19 02:10:03 +02:00
OM
92e2d42e19 Pre-added marks functions 2023-05-19 02:09:28 +02:00
OM
58e5e3fd63 Added multi-texture GL values
Don't iterate the stage if it has a skyAlpha gen near invisibility
2023-05-19 02:09:13 +02:00
OM
b61c7b3988 Fog fixes 2023-05-19 02:08:32 +02:00
OM
ee030f27e2 Early implementation of fog and sky portal 2023-05-19 00:29:13 +02:00
OM
6ac70d6b7c Fixed terrain patch not drawing properly 2023-05-18 18:51:45 +02:00
OM
f6ebdd1998 Better multitexture / bundle support 2023-05-18 18:17:32 +02:00
OM
7438dd709c Fixed terrain unpacking 2023-05-18 18:17:18 +02:00
OM
1207b46937 Fixed terrains vertices being wrongly rendered 2023-05-18 17:15:52 +02:00
OM
497f853171 Fixed terrain varnodes being badly loaded 2023-05-18 17:14:00 +02:00
OM
4984f8b925 nextBundle fix 2023-05-18 16:40:17 +02:00
OM
a1d581df39 Introducing full LOD terrain support 2023-05-18 14:41:37 +02:00
OM
4671aa9893 Replaced memset with a *for* loop 2023-05-18 01:36:13 +02:00
OM
cf14b84876 Using MOHAA's R_CreateImage and R_LoadImage 2023-05-17 00:25:27 +02:00
OM
3f2d62db4a Fixed no mipmaps shader, better quality for UI 2023-05-17 00:05:22 +02:00
OM
21958db630 Made static models rendering work 2023-05-16 23:35:39 +02:00
OM
bba11beb39 Reset static models rendering properly 2023-05-16 23:34:50 +02:00
OM
9787c5c235 Added more shader commands 2023-05-16 14:12:47 +02:00
OM
707de8d342 Initialize tess.vertexColorValid 2023-05-16 14:12:20 +02:00
OM
57d24335cc Made cntColors as a byte instead 2023-05-16 14:11:53 +02:00
OM
4dcd1111fb overbright bits fix 2023-05-16 14:09:18 +02:00
OM
fb254bf4f4 *RB_CalcColorFromConstant*: fixed bad constant color 2023-05-16 00:07:22 +02:00
OM
4ef4c86808 Operating reordering 2023-05-16 00:07:03 +02:00
OM
77b5648094 set backEnd.in2D to qtrue instead of 1 2023-05-15 21:33:25 +02:00
OM
28b434e56d Fixed backEnd.in2D being uninitialized 2023-05-15 21:26:44 +02:00
OM
b6ab949337 type fix for *CGEN_LIGHTING_GRID* 2023-05-15 21:26:33 +02:00
OM
d113d292eb Renamed *GLS_SET2D* to *GLS_DEPTHTEST_DISABLE* 2023-05-15 21:26:14 +02:00
OM
2c816c0846 Fixed characters being printed on the same X offset 2023-05-15 21:24:56 +02:00
OM
9abc35bc18 Fixed colors not working properly (used floats instead of bytes) 2023-05-15 20:15:06 +02:00
OM
5b141089c3 Added support for a few colorGen_t and alphaGen_t values 2023-05-15 20:14:45 +02:00
OM
2af3dee1d8 Implemented Set2DWindow 2023-05-15 17:27:05 +02:00