Commit graph

21 commits

Author SHA1 Message Date
smallmodel
56f850b59d
Don't add the same world surface more than once
This fixes an issue where shaders like water, ocean would look strange or completely black, due to them blending against each other multiple times
2024-10-01 20:51:56 +02:00
smallmodel
daa4a67b49
Reuse dlightmap in R_CheckDlightSurface and R_CheckDlightTerrain 2024-09-15 19:34:06 +02:00
smallmodel
ed52d1c648
Implement R_FastDlightTerrain 2024-09-11 19:19:38 +02:00
smallmodel
ca4b1ebdee
Don't render terrain when refdef.render_terrain is set to false 2024-06-11 23:37:45 +02:00
smallmodel
23a866f6f8
Implemented R_GetInlineModelBounds 2024-01-27 20:53:17 +01:00
smallmodel
2522559a04
Implemented R_SphereInLeafs 2023-07-24 20:14:23 +02:00
smallmodel
a2808a0dbf
Fixed dlightmap being wrong 2023-07-20 23:58:33 +02:00
smallmodel
c7de9048e5
Fixed index mistake 2023-07-19 00:40:14 +02:00
smallmodel
e181e00807
Added R_FastDlightTerrain
implemented R_DlightTerrain
Fixed R_DlightSurface (this fixes issues with dynamic lighting)
2023-07-18 21:39:14 +02:00
OM
4dc60b9aa4 Added lighting-grid / sphere light basic implementation 2023-05-20 17:02:01 +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
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
a1d581df39 Introducing full LOD terrain support 2023-05-18 14:41:37 +02:00
OM
2b6bd8c8d2 Fixed dynamic light issues 2023-05-15 14:21:16 +02:00
OM
7228a07e50 Fixed Linux compilation errors 2023-05-11 22:48:13 +02:00
OM
849e213d95 Dlight tweak 2023-05-10 20:29:49 +02:00
OM
95c0f4fe2d Fixed renderer crash 2023-05-10 17:07:10 +02:00
L
8908890d72 Quick compilation fixes (still linker errors) 2023-05-08 14:59:08 +02:00
L
53c1c94dac Using Quake 3 renderer 2023-05-08 14:33:37 +02:00