Magnus Norddahl
88c57a6677
Draw decals
2025-06-01 01:06:51 +02:00
Magnus Norddahl
8d10617762
Disable skyhack for level mesh and fix frustum test against skies
2025-05-31 23:57:38 +02:00
Magnus Norddahl
1d635d9a39
Add missing lower and upper
2025-05-31 20:00:29 +02:00
dpjudas
6da5f8e83f
Add the missing draw list types to LevelMeshDrawType
2025-05-31 04:09:48 +02:00
Magnus Norddahl
1791167fe5
Draw sorted by pipeline
2025-05-30 18:52:44 +02:00
Magnus Norddahl
83441734da
Improve side and sector draw performance a bit
2025-05-30 02:19:24 +02:00
Magnus Norddahl
addddcd8ed
Use clipper to find visible walls for hw_levelmesh
2025-05-26 02:03:47 +02:00
Magnus Norddahl
f302f03287
Change level mesh draw code to draw ranges in the mesh rather than the entire mesh
2025-05-25 18:18:29 +02:00
Magnus Norddahl
b27d094def
Improve GetVisibleSurfaces performance
2025-05-12 22:43:30 +02:00
Magnus Norddahl
3127e2598a
Implement the shadow and light list updates
2025-05-12 13:23:56 +02:00
Magnus Norddahl
8bf31755df
Update sectors and sides where light falls
2025-05-11 20:32:43 +02:00
Magnus Norddahl
bfb37a89c3
Fix deactivated lightmap light not working
2025-05-11 17:58:07 +02:00
Magnus Norddahl
737b7ece96
Dynamically allocate and free lightmap tiles
2025-05-10 03:07:17 +02:00
Ricardo Luís Vaz Silva
c923ed233e
remove SectorChangedOther/OnSectorChangedOther
2025-01-28 08:50:50 +08:00
Ricardo Luís Vaz Silva
65b75814ab
update walls on texZ change
2025-01-28 08:50:50 +08:00
Magnus Norddahl
d435c9c144
Fix crash when switching from a level with lightmaps to one without
2025-01-19 12:36:40 +01:00
Boondorl
57202305d6
Added toggle for lm_dynamic
2024-11-02 09:20:23 +01:00
Magnus Norddahl
fee5e3a58b
Fix lightmap lights not updating
2024-10-16 21:38:30 +02:00
Ricardo Luís Vaz Silva
44e69451cf
Hook up 3d floor updates to the level mesh
2024-10-15 18:33:30 +02:00
Magnus Norddahl
d69d190dc3
Add savelightmap and deletelightmap ccmds
2024-09-30 18:48:48 +02:00
dpjudas
9fdd01736e
Don't store HWDecal directly as they may move and animate
2024-09-29 01:13:23 +02:00
Magnus Norddahl
1e23dcee7c
Some initial decal rendering
2024-09-28 22:17:17 +02:00
Magnus Norddahl
76536be804
Use the dynamic lights from the level mesh in the light tiles shader
2024-09-16 18:06:21 +02:00
Magnus Norddahl
f0c018fdc6
Update light level in level mesh
2024-09-11 01:39:47 +02:00
Magnus Norddahl
d2958d8366
Change how visible surfaces for a tile are collected by the light mapper
2024-09-07 03:11:36 +02:00
dpjudas
d77b9c1e2b
Include 3d floors in level mesh limits
2024-09-03 01:09:50 +02:00
dpjudas
4666fa6241
Split masked from opaque in the level mesh draw lists
2024-09-01 22:44:25 +02:00
Magnus Norddahl
75dd9e13c9
Fix line portals drawn as opaque
2024-08-30 21:58:13 +02:00
Magnus Norddahl
d12cd4d74d
Sort initial draw lists by pipeline
...
Fix applying pipeline state too often for scattered draw ranges
Delay updating sides and sectors until frame start to allow the playsim to mark surfaces dirty multiple times
2024-08-28 19:53:12 +02:00
Magnus Norddahl
dedd7245f2
Fix wall portals not getting freed
2024-08-26 02:05:38 +02:00
Magnus Norddahl
944c6994b7
Update polyobjs every frame (wtb UpdateLevelMesh notification about this)
2024-08-25 15:10:30 +02:00
Magnus Norddahl
18db0b49a7
Update level mesh on sector changes
2024-08-25 01:06:44 +02:00
Magnus Norddahl
d28a3571b5
More level mesh buffer fun
2024-08-23 00:01:08 +02:00
Magnus Norddahl
356ad2fe9f
Split doom specific surface data from common/gpu surface data
2024-08-20 02:06:05 +02:00
Rachael Alexanderson
a4e3aca33c
- add messages for sector light change, thinker creation, and destruction
2024-08-11 15:58:33 -04:00
Magnus Norddahl
e0cba77646
Move levelmeshhelper completely out of the Common folder
...
Connect the level updates to the level mesh
2024-08-11 18:34:03 +02:00
Magnus Norddahl
f1b9e68305
Add more dynamic update code to level mesh
2024-08-11 01:15:44 +02:00
Magnus Norddahl
192cdcd9cb
Fix null pointer crash for translucent flats with no texture
2024-03-09 13:28:50 +01:00
Magnus Norddahl
2ba2553c60
Fix sample distance
2024-03-01 11:55:15 +01:00
Magnus Norddahl
68f9fee55b
Make the light list part of the level mesh
2024-02-26 15:57:32 +01:00
Magnus Norddahl
75b70abcb3
Fix sunlight coming from sector portals
2024-02-10 02:19:59 +01:00
Magnus Norddahl
c1d0963da4
Rewrite the GLSL ray trace code so it does not use global variables!!
...
Fix portals not working
2024-02-09 12:08:16 +01:00
Magnus Norddahl
2411b103b5
Keep bindings in the mesh
2024-02-08 21:27:16 +01:00
Magnus Norddahl
7bc2ed5436
Remove the submesh class as that caused more problems than it solved
2024-01-29 21:56:42 +01:00
Magnus Norddahl
48b6a7ec46
Split level mesh surface from lightmap tiles as we have multiple surfaces per tile
2023-12-26 04:31:00 +01:00
Magnus Norddahl
4ca2ffd58e
Implement line portals and improve sky handling
2023-12-26 04:31:00 +01:00
Magnus Norddahl
412be46e08
Misc surface and lightmapper related cleanup and renaming
2023-12-26 04:30:59 +01:00
Magnus Norddahl
75e33c4923
Move portal creation out of the submesh
2023-12-26 04:30:58 +01:00
Magnus Norddahl
4f4d859fd9
Move some code
2023-12-26 04:30:56 +01:00
dpjudas
f83ae7487f
Split into more files
2023-12-26 04:30:56 +01:00