Magnus Norddahl
2040be87a5
One more save fix
2024-12-12 23:10:13 +01:00
Magnus Norddahl
bd3b41cffb
Don't save dynamic lightmap textures
2024-12-12 21:19:17 +01:00
Magnus Norddahl
22aab27058
Add some lame free list info
2024-12-12 18:58:47 +01:00
Magnus Norddahl
dafc612b68
Add measurement of how long DoomLevelMesh::BeginFrame took
2024-12-10 23:05:57 +01:00
Boondorl
57202305d6
Added toggle for lm_dynamic
2024-11-02 09:20:23 +01:00
nashmuhandes
a37c47cf92
Change SetSunDirection to take in angle and pitch
2024-10-24 12:59:12 +08:00
nashmuhandes
521d44d623
Fix compile error
2024-10-24 11:15:59 +08:00
Nash Muhandes
7092550d3e
Merge branch 'master' into pr_lightmap_modding_vkdoom
2024-10-24 11:06:26 +08:00
dpjudas
dfbef085e6
Group lightmap variables and put polyobj walls in a dynamic lightmap atlas
2024-10-22 02:29:12 +02:00
dpjudas
4a425c4493
Add support for updating the CPU-side accelstruct used for actor tracing
2024-10-20 23:54:15 +02:00
Magnus Norddahl
fee5e3a58b
Fix lightmap lights not updating
2024-10-16 21:38:30 +02:00
Magnus Norddahl
bb1174172a
Don't render the lightmap lights as dynlights in gl_levelmesh
2024-10-16 15:01:37 +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
dpjudas
c64b5bb2cb
Fix ccmd message
2024-10-01 01:01:46 +02:00
Magnus Norddahl
d69d190dc3
Add savelightmap and deletelightmap ccmds
2024-09-30 18:48:48 +02:00
Magnus Norddahl
7e83d726ca
Improve light level updates
2024-09-29 14:21:57 +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
d96dd8e7ba
Fix using wrong location for the light update
2024-09-11 01:58:34 +02:00
Magnus Norddahl
f0c018fdc6
Update light level in level mesh
2024-09-11 01:39:47 +02:00
Magnus Norddahl
e65b3058cf
Fix mesh builder not getting cleared correctly
2024-09-07 04:14:22 +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
e94bd7f641
Fix 'Could not find space in level mesh buffer' error
...
Interpolate sector height updates
2024-08-26 00:49:30 +02:00
Magnus Norddahl
03e36e9d38
Fix polyobj height
2024-08-25 15:48:17 +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
Magnus Norddahl
e9946bead2
Fix not lights in the internal lightmapper
2024-08-13 23:35:32 +02:00
dpjudas
b6cbaaedbc
Update the bottom level accel structure if vertices or indexes change
2024-08-11 23:03:32 +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
766b558119
Ranges in buffers are so fun!
2024-08-11 20:39:45 +02: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
e80615e167
Move the level mesh dirty ranges to levelmesh so that it can be updated
2024-08-11 17:51:45 +02:00
Magnus Norddahl
f1b9e68305
Add more dynamic update code to level mesh
2024-08-11 01:15:44 +02:00
dpjudas
3ae77ef6c4
Fix crash when loading maps with sectors with no subsectors
2024-07-20 05:45:28 +02:00
Magnus Norddahl
314ec1030c
Fix level mesh crash
2024-07-12 20:04:50 +02:00
dpjudas
7f2c928d14
Prepare wall/flat surface create functions to be able to insert in any location in the mesh buffers
2024-07-05 06:50:00 +02:00
nashmuhandes
1a89307ee7
Rename SourceRadius to SoftShadowRadius
2024-06-15 18:08:37 +08:00
RaveYard
2901f31355
Invalidate actor light trace cache and fix possible nullptr exceptions
2024-05-22 10:32:41 +02:00
dpjudas
92230626c1
Add additional null pointer checks for spot lights
2024-05-12 02:55:44 +02:00
Magnus Norddahl
b575ffd36d
Add null pointer check for light->target
2024-05-10 18:42:57 +02:00
RaveYard
b3ba1cf49e
Add global lightmap control into ZScript
2024-05-06 15:13:16 +02:00
Magnus Norddahl
192cdcd9cb
Fix null pointer crash for translucent flats with no texture
2024-03-09 13:28:50 +01:00