Commit graph

15 commits

Author SHA1 Message Date
smallmodel
e5e7421d3c
Fix terrain lightmap when there is a dynamic light map
This fixes terrain having a completely wrong lightmap texture coordinates for dynamic lighting
2024-09-15 21:21:38 +02:00
smallmodel
6ff25d00fc
Use lightmap offset for grid surface when a dlightmap is specified 2024-09-15 21:15:01 +02:00
smallmodel
396e543b74
Removed tess.numVertexes check from RB_CheckOverflow 2023-07-23 18:21:09 +02:00
smallmodel
58b88201dd
Using LIGHTMAP_SIZE instead of a constant value 2023-07-19 22:41:14 +02:00
smallmodel
5e55e72b5c
Set tess.dlightMap to 0 in RB_AddQuadStampExt
Clear dynamic light bits when surface is a sky or has nodlight set
2023-07-19 20:19:54 +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
OM
1f053c2548 Set **tess.vertexColorValid** to true for polys 2023-05-30 00:22:15 +02:00
OM
d5c2c22dbb Using **RB_CHECKOVERFLOW** for **RB_DrawTerrainTris** 2023-05-29 13:50:17 +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
8bb9cd46f8 RB_SurfaceFace renders with dlight 2023-05-20 19:32:29 +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
L
53c1c94dac Using Quake 3 renderer 2023-05-08 14:33:37 +02:00