Commit graph

31 commits

Author SHA1 Message Date
smallmodel
7b59f07181
Allow precaching image manually with r_precacheimages 2024-08-07 20:01:38 +02:00
smallmodel
f213943b2d
Fix RB_SetGL2D 2024-07-28 19:02:06 +02:00
smallmodel
5159a534bb
Fix animated images playing at the same time for all entities 2024-07-28 19:01:34 +02:00
smallmodel
0b16d599d5
Added UseCount for image_t 2024-02-12 22:11:15 +01:00
smallmodel
3b2223ad22
image validity check 2024-02-12 22:11:00 +01:00
smallmodel
186583148a
Use proper values for GL_TEXTURE_WRAP_S and GL_TEXTURE_WRAP_T 2024-02-12 22:10:00 +01:00
smallmodel
786d72575e
Fixed buggy sky rendering 2023-11-06 19:32:49 +01:00
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
b6143ce54c
Better fog rendering
Implemented RB_SetupFog()
2023-08-28 17:36:57 +02:00
smallmodel
194d53569f
Added foliage AFunc 2023-08-28 00:51:43 +02:00
smallmodel
9ebdc6a238
Replaced 2 with RDF_HUD 2023-07-24 20:13:43 +02:00
smallmodel
a5ff63cd01
Fixed env values 2023-07-19 20:20:16 +02:00
smallmodel
4e4e82c874
Fixed bad fog 2023-07-09 20:12:45 +02:00
OM
3acda727d2 Added full sprite support 2023-05-29 14:27:36 +02:00
OM
7536301d2e Using qgl functions 2023-05-28 22:55:29 +02:00
OM
f3be59f64d update 2023-05-26 23:32:27 +02:00
OM
49f4ac66ab Added *R_DrawLensFlares* 2023-05-21 02:40:50 +02:00
OM
c27695247e drawSurf sprite check fix 2023-05-20 19:32:09 +02:00
OM
4dc60b9aa4 Added lighting-grid / sphere light basic implementation 2023-05-20 17:02:01 +02:00
OM
45e82c590e Set numSpheresUsed to 0 2023-05-19 16:59:20 +02:00
OM
2d70547f9d Cleanup 2023-05-19 03:21:04 +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
f6ebdd1998 Better multitexture / bundle support 2023-05-18 18:17:32 +02:00
OM
bba11beb39 Reset static models rendering properly 2023-05-16 23:34:50 +02:00
OM
2af3dee1d8 Implemented Set2DWindow 2023-05-15 17:27:05 +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
e1f391fa4b made tr.images statically allocated 2023-05-10 00:00:40 +02:00
OM
a01cf19c47 Fixed some functions not matched 2023-05-09 20:08:06 +02:00
L
53c1c94dac Using Quake 3 renderer 2023-05-08 14:33:37 +02:00