Alibek Omarov
|
142dc7b87a
|
ref: use vector initializer macros
|
2026-05-20 23:24:36 +05:00 |
|
Alibek Omarov
|
e2cf580818
|
ref: gl: refactor variable declarations
|
2026-05-20 23:24:36 +05:00 |
|
Alibek Omarov
|
bf990d1040
|
ref: gl: cleanup unused variables
|
2026-05-13 10:09:09 +05:00 |
|
Alibek Omarov
|
5b6b372cfe
|
ref: gl: drop broken minlight/scale cvars for litwater. Keep them for mods. Fix post-merge issues
|
2026-04-28 11:21:56 +05:00 |
|
Alibek Omarov
|
2f31cf315c
|
ref: gl: add litwater support
|
2026-04-28 11:12:44 +05:00 |
|
Alibek Omarov
|
a3dba64513
|
public: move atlas packing code from renderer, add tests
|
2026-04-20 01:33:54 +05:00 |
|
Alibek Omarov
|
044523434d
|
ref: add R_EntityDynamicLight that calculates lighting for studio and alias models, and also located in libref_common
|
2026-04-19 01:17:28 +05:00 |
|
Alibek Omarov
|
dd712a0df9
|
engine: update Mod_PointInLeaf signature for RefAPI
|
2026-04-14 22:36:15 +05:00 |
|
Alibek Omarov
|
9b24b08df1
|
ref: gl: remove onlyClientDraw, drawOrtho, RI.params with viewpass flag check. RF_DRAW_OVERVIEW and RF_DRAW_CUBEMAP are cannot be set at the same time, so drawOrtho check replaced by RF_DRAW_CUBEMAP only
|
2026-04-13 23:13:49 +05:00 |
|
Alibek Omarov
|
3440ddf443
|
ref: gl: read ref_viewpass_t flags instead of cached RI.drawWorld
|
2026-04-13 23:13:49 +05:00 |
|
Alibek Omarov
|
148a9a5a8c
|
ref: gl: replace RI.{vieworg,viewangles,pvsorigin} by ref_viewpass_t fields
|
2026-04-13 23:13:49 +05:00 |
|
Alibek Omarov
|
ff3a57ae8a
|
ref: gl: drop legacy mirror viewpass code
|
2026-04-13 23:13:49 +05:00 |
|
Alibek Omarov
|
d85e7fc2b1
|
ref: move remaining light functions to libref_common
|
2026-04-13 13:01:18 +05:00 |
|
Alibek Omarov
|
b7a3a02aad
|
ref: common: add R_PushDlightsForBmodel
|
2026-04-13 13:01:18 +05:00 |
|
Alibek Omarov
|
5aca78951c
|
ref: move R_PushDlights and R_MarkLights to ref_common
|
2026-04-13 13:01:18 +05:00 |
|
Alibek Omarov
|
ef73b55413
|
ref: common: move malloc and GL_InitRandomTable
|
2026-04-13 13:01:18 +05:00 |
|
Sergey Degtyar
|
e87f307ac1
|
engine: image: fix blue halo around sprays
|
2026-04-10 15:00:02 +05:00 |
|
Alibek Omarov
|
055d646225
|
ref: gl: merge refactoring changes from litwater branch
|
2026-04-09 11:43:47 +05:00 |
|
Alibek Omarov
|
0e8143aefc
|
ref: gl: remove duplicate line from if-else branches in R_MarkLeaves
|
2026-04-08 08:05:00 +05:00 |
|
Alibek Omarov
|
e7fa45d5ca
|
ref: gl: fix masked textures with VBO
|
2026-04-06 11:12:09 +05:00 |
|
Alibek Omarov
|
7b665b3763
|
ref: gl: track max height of a dynamic lightmap
|
2026-04-06 10:04:15 +05:00 |
|
Alibek Omarov
|
58692f397a
|
ref: gl: reorganize R_CheckLightMap to exit early for dlighted surfaces
|
2026-04-06 09:40:19 +05:00 |
|
Alibek Omarov
|
2253fcc955
|
ref: gl: skip redundant positions in LM_AllocBlock
|
2026-04-06 09:05:47 +05:00 |
|
Alibek Omarov
|
e8ae48fd3d
|
ref: simplify node recursion functions, do not fetch both children at once if only one is used
|
2026-04-06 08:16:20 +05:00 |
|
Alibek Omarov
|
00dac928c9
|
ref: replace checking PARM_QUAKE_COMPATIBLE with direct check of feature flag set
|
2026-04-02 02:13:27 +05:00 |
|
Alibek Omarov
|
02b1d15e42
|
ref: gl: add gl_polyoffset_bmodels to enable poly offset for drawing brush models, avoiding zfighting
|
2026-03-27 03:27:20 +05:00 |
|
Alibek Omarov
|
641a3663f5
|
ref: gl: unlikely but use fast side check for frustum
|
2026-03-26 02:44:53 +05:00 |
|
Alibek Omarov
|
658a3b0c6a
|
ref: gl: minor refactoring
|
2026-03-11 10:11:21 +05:00 |
|
Nikita
|
58996c3d0d
|
ref: gl: use wireframe overlay for bmodel faces as well
|
2025-12-21 02:32:12 +05:00 |
|
Alibek Omarov
|
cb81303ded
|
engine: replace hardcoded pvs radius value by a r_pvs_radius cvar
|
2025-09-28 18:31:03 +05:00 |
|
Alibek Omarov
|
699e178f62
|
ref: gl: remove excessive ASSERT macro, use Assert everywhere
|
2025-09-06 00:41:48 +05:00 |
|
Alibek Omarov
|
a3aaa87147
|
ref: gl: enable polygon offset for fullbright textures when rendering them in separate from VBO pass
|
2025-02-25 11:49:31 +03:00 |
|
Alibek Omarov
|
eb09af0b08
|
ref: gl: avoid generating GL_INVALID_OPERATION if gl_vbo_dlightmode is set to 0
|
2025-02-11 18:57:08 +03:00 |
|
Alibek Omarov
|
a955d1e957
|
ref: gl: make GL_BuildPolygonFromSurface static, remove one global variable usage (which is unused anyway)
|
2025-02-07 22:55:38 +03:00 |
|
Alibek Omarov
|
3ebcb08a97
|
ref: gl: add cvar r_large_lightmaps to enable larger lightmap sizes, opt-in, yields better performance with VBO renderer
|
2025-02-05 13:02:37 +03:00 |
|
Alibek Omarov
|
c906aa0106
|
ref: gl: make DrawGLPoly and R_TextureAnimation private to brush rendering code
|
2025-01-18 08:39:31 +03:00 |
|
Alibek Omarov
|
dcdca01e86
|
ref: gl: declare VBO globals static
|
2025-01-14 11:30:35 +03:00 |
|
Alibek Omarov
|
47aff9e30b
|
engine: hack mnode_t struct so we can have 24-bit face and children indices to support BSP2 format in runtime
|
2025-01-09 08:02:39 +03:00 |
|
Alibek Omarov
|
ced8744ac9
|
engine: split edge struct into two with 16-bit indicies and 32-bit indicies to support BSP2 format in runtime
|
2025-01-08 14:46:07 +03:00 |
|
Alibek Omarov
|
c6e3146290
|
ref: gl: fix broken water texture when it was discarded by R_UploadRipples
|
2024-12-26 03:49:12 +03:00 |
|
Alibek Omarov
|
159ded433d
|
ref: gl: don't touch polygon offset when not drawing debug hulls as it breaks decals with VBO
Also correctly restore polygon offset state so decals gets drawn even with VBO
|
2024-11-06 01:39:46 +03:00 |
|
Alibek Omarov
|
6153d7f168
|
engine: make CL_RunLightStyles accept lightstyles array pointer as an argument. Make necessary changes in renderers.
|
2024-11-03 01:20:30 +03:00 |
|
Alibek Omarov
|
bb4e64ea58
|
ref: gl: migrate to new way to get lightstyles and dlights
|
2024-11-03 01:20:30 +03:00 |
|
Alibek Omarov
|
8af995cc28
|
engine: introduce REF_GET_*_PTR for gamma tables
|
2024-11-03 01:20:30 +03:00 |
|
Alibek Omarov
|
b39d660189
|
ref: refactor R_BuildLightMap
|
2024-11-03 01:20:30 +03:00 |
|
Alibek Omarov
|
9608da5bf9
|
engine: move debug hulls rendering from renderer, implement through TriAPI
Bump RefAPI version to 9.
|
2024-11-02 22:57:26 +03:00 |
|
Alibek Omarov
|
40c051fb6b
|
ref: refactor R_AddDynamicLights
|
2024-11-02 04:08:40 +03:00 |
|
Alibek Omarov
|
015f1ba8c0
|
ref: gl: small optimization for brush model rendering passes, track the first and last texture id of a special surface (fullbrights, alpha chains, details..)
|
2024-11-02 03:24:54 +03:00 |
|
Alibek Omarov
|
c3de4a5c3b
|
ref: gl: add fullbright textures to the list with VBO renderer
|
2024-11-02 02:18:43 +03:00 |
|
Alibek Omarov
|
f7bc258c2f
|
ref: gl: reduce copypasted branch at LM_UploadBlock
|
2024-11-01 19:06:09 +03:00 |
|