Commit graph

25 commits

Author SHA1 Message Date
smallmodel
7ad18a68f8
Rendering fog fixes
Fixed wrong fog flag being used (must be GLS_FOG) in RB_SetupFog().
R_SetupFrustum():
- Use skybox farplane and farplane bias
- RB_SetupFog() is now the only function who handle fog activation

RE_RenderScene():
- Set renderTerrain, skybox_farplane and farplane_bias parameters
- Set color overrides
- Use farclip when necessary

RB_StageIteratorLightmappedMultitextureUnfogged(): Fixed issue with fog being reset
2023-08-28 20:50:32 +02:00
smallmodel
8dc91e413e
Commented out GLS_MULTITEXTURE_ENV since it was removed in mohaas 2023-08-27 23:18:48 +02:00
smallmodel
3fe7cbf725
Fixed vertex colors spam 2023-07-30 11:38:59 +02:00
smallmodel
087d0047b3
Implemented AGEN_DIST_FADE, AGEN_ONE_MINUS_DIST_FADE, AGEN_TIKI_DIST_FADE, AGEN_ONE_MINUS_TIKI_DIST_FADE and AGEN_HEIGHT_FADE 2023-07-23 19:08:57 +02:00
smallmodel
00b028b381
Fixed texture env
Fixed wrong dlight image being used
2023-07-19 20:30:43 +02:00
smallmodel
ec21e2e4d0
Added flags parameter for DrawTris 2023-07-09 17:48:31 +02:00
OM
59ce9cb349 Added **TCGEN_ENVIRONMENT_MAPPED2** and **TCGEN_SUN_REFLECTION** (unimplemented) 2023-05-30 01:08:34 +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
9addff08ce Bind if the texture is a lightmap 2023-05-21 02:48:41 +02:00
OM
a45b36f2f3 *RB_BeginSurface*: Don't set the shadertime here 2023-05-21 02:05:22 +02:00
OM
4dc60b9aa4 Added lighting-grid / sphere light basic implementation 2023-05-20 17:02:01 +02:00
OM
0c92890ef2 Implemented CGEN_STATIC 2023-05-19 16:59:08 +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
f6ebdd1998 Better multitexture / bundle support 2023-05-18 18:17:32 +02:00
OM
4984f8b925 nextBundle fix 2023-05-18 16:40:17 +02:00
OM
707de8d342 Initialize tess.vertexColorValid 2023-05-16 14:12:20 +02:00
OM
b6ab949337 type fix for *CGEN_LIGHTING_GRID* 2023-05-15 21:26:33 +02:00
OM
5b141089c3 Added support for a few colorGen_t and alphaGen_t values 2023-05-15 20:14:45 +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
8b73d676cb Fakk modifications 2023-05-11 18:56:40 +02:00
OM
849e213d95 Dlight tweak 2023-05-10 20:29:49 +02:00
OM
776d3fa897 Added all mohaa renderer Cvars 2023-05-10 18:21:26 +02:00
L
0d7b822216 Implemented R_LoadFont 2023-05-09 19:13:37 +02:00
L
53c1c94dac Using Quake 3 renderer 2023-05-08 14:33:37 +02:00