Commit graph

207 commits

Author SHA1 Message Date
smallmodel
69c2ea4614
Using font system from SH/BT to support different code pages 2023-07-17 00:24:04 +02:00
smallmodel
70463db037
Fixed normals being corrupted/uninitialized and causing weird artifacts, such as strange water lines in some maps 2023-07-15 21:21:27 +02:00
smallmodel
2015fbda4d
Initialize fragment iIndex to 0 2023-07-15 20:50:58 +02:00
smallmodel
4e4e82c874
Fixed bad fog 2023-07-09 20:12:45 +02:00
smallmodel
0c57ec27e6
Added nodepthwrite, nodepthmask, nocolorwrite and nocolormask
Removed FixRenderCommandList from SortNewShader
Fixed shader.sort being wrongly SS_BLEND0 (this fixes issues when seeing through translucent textures like water)
2023-07-09 19:40:12 +02:00
smallmodel
bc249844bf
Added GLS_COLOR_NOMASK 2023-07-09 19:39:00 +02:00
smallmodel
7da3432b8c
Implemented RE_RefreshShaderNoMip 2023-07-09 18:15:21 +02:00
smallmodel
e8ecd1ca9e
Implemented R_RefreshImageFile 2023-07-09 18:15:04 +02:00
smallmodel
ec21e2e4d0
Added flags parameter for DrawTris 2023-07-09 17:48:31 +02:00
smallmodel
83d8fcb0e6
Reimplemented Autosprite2Deform, this fixes trees sprite rendering 2023-07-09 16:36:35 +02:00
smallmodel
dc2b99fb58
Fixed fog extrafrustums above 1 (caused issues with culling) 2023-07-09 15:37:24 +02:00
smallmodel
0f05f8356f
Support r_showcull debugging, as well as r_showstaticlod and r_showstaticbboxes 2023-07-09 15:14:11 +02:00
smallmodel
34a426adf1
Implemented R_DrawDebugNumber 2023-07-09 15:13:39 +02:00
smallmodel
f4790a0e50
Added R_CountTikiLodTris (unimplemented) 2023-07-09 15:13:24 +02:00
smallmodel
e943b95025
Implemented R_DrawDebugLines and R_DrawDebugStrings 2023-07-09 14:38:22 +02:00
smallmodel
981610b13f
Declared R_DrawFloatingString 2023-07-09 14:37:57 +02:00
smallmodel
50098b3aed
Implemented R_DebugRotatedBBox 2023-07-09 14:37:43 +02:00
smallmodel
e3f1705065
Implemented RB_CalcFlapVertexes and RB_CalcEnvironmentTexCoords2 2023-07-09 13:47:42 +02:00
smallmodel
25d526ade5
Moved "flap" above "normal" 2023-07-09 13:47:05 +02:00
OM
b5dd79287a Fixed colors segmentation fault (because it was grabbing 4 bytes instead of 3 thanks to unsigned int*) 2023-07-02 21:22:15 +02:00
pryon
ca468b9407
Implement RB_SurfaceMarkFragment (#47)
Looks good
Btw it won't be possible to make a common function, because like others `RB_Surface*`, both functions use a different struct (even if some of the fields have the same name between structures)
2023-07-01 20:51:14 +02:00
pryon
adc6a6579f
Implement R_TerrainHeightForPoly (#45)
* Implement R_TerrainHeightForPoly

* Add back the original assert messages using the && va trick
2023-06-25 00:09:35 +02:00
OM
5b97245dd1 Reworked CMakeLists 2023-06-17 01:44:38 +02:00
OM
59ce9cb349 Added **TCGEN_ENVIRONMENT_MAPPED2** and **TCGEN_SUN_REFLECTION** (unimplemented) 2023-05-30 01:08:34 +02:00
OM
2506625e59 Added **RB_CalcEnvironmentTexCoords2** (not really implemented) 2023-05-30 01:06:52 +02:00
OM
1f053c2548 Set **tess.vertexColorValid** to true for polys 2023-05-30 00:22:15 +02:00
OM
418e84620c Removed useless statement 2023-05-29 21:14:55 +02:00
OM
8f6ba3261e Output vLight values even if unimplemented 2023-05-29 15:53:01 +02:00
OM
088434bfb3 Fixed **ParseVector** not working as intended (removed parenthesis)
Added "heightFade", "tikiDistFade" and "oneMinusTikiDistFade"
2023-05-29 15:26:37 +02:00
OM
629880e5ca Added **AGEN_TIKI_DIST_FADE**, **AGEN_ONE_MINUS_TIKI_DIST_FADE** and **AGEN_HEIGHT_FADE** 2023-05-29 15:25:54 +02:00
OM
3acda727d2 Added full sprite support 2023-05-29 14:27:36 +02:00
OM
d5c2c22dbb Using **RB_CHECKOVERFLOW** for **RB_DrawTerrainTris** 2023-05-29 13:50:17 +02:00
OM
eeae4c7da3 Added **animMapOnce** and **animMapPhase** 2023-05-29 13:49:46 +02:00
OM
a7f6c77b8d Mixed mipmap param fix 2023-05-29 13:49:19 +02:00
OM
b7f071f80d Added **R_AddSwipeSurfaces** 2023-05-29 13:48:01 +02:00
OM
c7138bfb92 Implemented **LightGlowDeform** 2023-05-29 13:47:41 +02:00
OM
b14e678bbe Fixed R_Shutdown not clearing gl values 2023-05-28 23:13:35 +02:00
OM
7536301d2e Using qgl functions 2023-05-28 22:55:29 +02:00
OM
7b79877516 made renderer (original quake III) work with SDL 2023-05-27 22:23:03 +02:00
OM
4a582cfbb5 Updated 2023-05-27 21:39:56 +02:00
OM
f3be59f64d update 2023-05-26 23:32:27 +02:00
OM
e54f4a65f9 altname fix 2023-05-22 13:44:37 +02:00
OM
55ad4dacdd Added DDS support 2023-05-22 13:01:52 +02:00
OM
c4aca55b1a Minor fixes 2023-05-22 02:38:43 +02:00
OM
9e7991f4b1 Load JPEG before TGA 2023-05-22 02:16:21 +02:00
OM
7085d60d02 Added Team Tactics features 2023-05-21 19:58:43 +02:00
OM
342552c349 Process lightmap coord array on static models 2023-05-21 02:48:57 +02:00
OM
9addff08ce Bind if the texture is a lightmap 2023-05-21 02:48:41 +02:00
OM
2ff1071115 Export *R_PrintInfoWorldtris* 2023-05-21 02:43:07 +02:00
OM
49f4ac66ab Added *R_DrawLensFlares* 2023-05-21 02:40:50 +02:00