Magnus Norddahl
|
7bc52386f9
|
Make doom specific surface fields private to doom
|
2023-09-30 21:33:07 +02:00 |
|
Magnus Norddahl
|
2b7394cbb1
|
Update the dynamic submesh with poly lines
|
2023-09-26 00:06:10 +02:00 |
|
Magnus Norddahl
|
65929d021f
|
Add support for multiple meshes (DoomLevelSubmesh)
|
2023-09-25 23:28:49 +02:00 |
|
Magnus Norddahl
|
fae22f1bb7
|
Remove smoothing groups from vk_lightmap and fix some warnings
|
2023-09-25 20:35:34 +02:00 |
|
Magnus Norddahl
|
1dd2605200
|
Retrieve the light list on the fly rather than try to sync it
|
2023-09-22 16:35:50 +02:00 |
|
RaveYard
|
f9b7332aed
|
Fix mid textures not pushed into visible surface list
|
2023-09-22 15:43:11 +02:00 |
|
RaveYard
|
9f5e8b5e4d
|
Minor cleanup and lightmapper fixes
|
2023-09-22 15:42:05 +02:00 |
|
Magnus Norddahl
|
5b2dad99a7
|
Disable moving lights for now as that's what caused the FPS drop for lm_always_update
|
2023-09-22 11:32:20 +02:00 |
|
RaveYard
|
eb134d3fbf
|
Add color blending for lights
|
2023-09-21 00:15:23 +02:00 |
|
RaveYard
|
5cf202f24e
|
Fix surface midtexture yscale
|
2023-09-21 00:15:23 +02:00 |
|
RaveYard
|
3827d51784
|
WIP wall UVs for levelmesh
|
2023-09-21 00:15:23 +02:00 |
|
RaveYard
|
7989b389c7
|
Fix flat UVs
|
2023-09-21 00:15:23 +02:00 |
|
RaveYard
|
fff23e0724
|
Extract flat rotation from SetPlaneTextureRotation
|
2023-09-21 00:15:23 +02:00 |
|
RaveYard
|
c525ec1b68
|
Add access to vertex indices in frag_raytrace.glsl
|
2023-09-21 00:15:23 +02:00 |
|
RaveYard
|
08b03f2d73
|
Add SurfaceVertex to store texture UVs
|
2023-09-21 00:15:23 +02:00 |
|
RaveYard
|
78e4f67e83
|
Reimplement ZDRay SectorGroup
|
2023-09-19 16:23:02 +02:00 |
|
RaveYard
|
42e02ec87a
|
Add WIP mid texture support
|
2023-09-19 09:34:49 +02:00 |
|
Magnus Norddahl
|
e5a4e6c85a
|
Remove LightmapOrigin, LightmapStepX and LightmapStepY as we no longer use them
|
2023-09-19 00:47:47 +02:00 |
|
Magnus Norddahl
|
44f1090b45
|
Replace macros with functions
|
2023-09-18 23:12:56 +02:00 |
|
Magnus Norddahl
|
2e754c8106
|
Use the vertex and index buffers from the accelstruct
|
2023-09-18 17:39:06 +02:00 |
|
RaveYard
|
dc936ed32b
|
Use LIGHTMAP lump surface dimensions before packing the lightmap atlas
|
2023-09-18 16:36:09 +02:00 |
|
RaveYard
|
3dfa79c71f
|
Fix nullptr crash in HWWall::BuildFFBlock
|
2023-09-18 13:59:06 +02:00 |
|
RaveYard
|
4e7e1d772b
|
Reintroduce lm_max_updates
|
2023-09-16 15:13:16 +02:00 |
|
Magnus Norddahl
|
733624f111
|
Update the light list (we really need to do this in a less retarded way) when lm_always_update is active
|
2023-09-16 05:38:30 +02:00 |
|
Magnus Norddahl
|
24bd3d089d
|
Add cvar for speed testing always updating the lightmap
|
2023-09-16 05:33:00 +02:00 |
|
Magnus Norddahl
|
2178de0c6c
|
- Fix VkRaytrace::Raytrace not working properly if called multiple times per frame.
- Only call VkRaytrace::Raytrace once per scene
|
2023-09-16 05:12:31 +02:00 |
|
RaveYard
|
b588d0ef22
|
Fix missing 'needsUpdate' check before pushing surface to the list
|
2023-09-16 02:57:23 +02:00 |
|
Magnus Norddahl
|
d9b066ad37
|
Move the visible surface list to HWDrawInfo
|
2023-09-15 20:45:03 +02:00 |
|
Magnus Norddahl
|
651b2ef9e3
|
Change lightmapper to only use one image
|
2023-09-15 18:07:37 +02:00 |
|
RaveYard
|
5a55033ef7
|
Use UVs from the lightmap
|
2023-09-15 10:43:56 +02:00 |
|
RaveYard
|
6606860550
|
Refactor CCMDs in doom_levelmesh.cpp
|
2023-09-14 19:14:35 +02:00 |
|
RaveYard
|
bbcc0c1e88
|
Add stat lightmap and surfaceinfo ccmd
|
2023-09-14 19:14:35 +02:00 |
|
RaveYard
|
59c93e6e4f
|
Workaround to make 3d floor side surfaces detectable
|
2023-09-14 15:15:57 +02:00 |
|
RaveYard
|
0e8b7175e5
|
Fix 3d floor surfaces accidentaly marked as sky
|
2023-09-14 15:14:59 +02:00 |
|
RaveYard
|
06d137e4da
|
Skip portal and sky surfaces
|
2023-09-14 15:14:59 +02:00 |
|
RaveYard
|
7cd33cc060
|
Optimize which surfaces are passed to lightmapper
|
2023-09-14 15:14:59 +02:00 |
|
RaveYard
|
c05376c273
|
Fix variety of bugs and assume that any surface not contained in LIGHTMAP lump does not need updating
|
2023-09-13 21:58:11 +02:00 |
|
RaveYard
|
c6b92e1c1b
|
Initial implementation for lightmap lump loading
|
2023-09-13 21:58:11 +02:00 |
|
RaveYard
|
ac74d63199
|
Fix spotlight rotation
|
2023-09-12 17:26:08 +02:00 |
|
RaveYard
|
adfc7082f5
|
Remove hacks associated with SetLevelMesh
|
2023-09-11 14:44:17 +02:00 |
|
RaveYard
|
4f6fce5bbc
|
Fix CreateIndexedSectorVerticesLM to prevent holes in the floors/ceilings from appearing
|
2023-09-11 12:50:17 +02:00 |
|
Magnus Norddahl
|
79302a7a58
|
Fix warnings
|
2023-09-11 01:31:51 +02:00 |
|
RaveYard
|
67c5201b06
|
Fix sample distance power of two rounding
|
2023-09-11 00:44:15 +02:00 |
|
RaveYard
|
5912a2c30b
|
Remove awful hardcoded byte offset hack
|
2023-09-10 23:42:00 +02:00 |
|
RaveYard
|
9ef93da6de
|
Somehow fix lightmaps being corrupted in debug build
|
2023-09-10 23:42:00 +02:00 |
|
RaveYard
|
6f44e2b5d4
|
Change surfaceIndices to surfaces
|
2023-09-10 23:42:00 +02:00 |
|
RaveYard
|
f19e2e712d
|
Fix floors not being updated
|
2023-09-10 23:42:00 +02:00 |
|
RaveYard
|
d96d1aeffc
|
Visible surfaces are gathered in processing (gathering) render phase and lightmaps drawn before rendering
|
2023-09-10 23:42:00 +02:00 |
|
RaveYard
|
139ce34535
|
WIP refactoring of surface gathering
|
2023-09-10 23:42:00 +02:00 |
|
RaveYard
|
9b091e73ff
|
Fix 3D floors not being marked as seen
|
2023-09-10 23:42:00 +02:00 |
|