Magnus Norddahl
|
c6d03f8660
|
Fix U texture calculation
|
2023-10-01 13:37:44 +02:00 |
|
Magnus Norddahl
|
864925df25
|
More clean up
|
2023-10-01 12:52:23 +02:00 |
|
Magnus Norddahl
|
4306d2d3d8
|
Fix using wrong light list for 3d floors
|
2023-10-01 00:27:22 +02:00 |
|
Magnus Norddahl
|
0c0ca70b28
|
Remove dead code
|
2023-09-30 23:17:22 +02:00 |
|
Magnus Norddahl
|
925e0b114d
|
Remove unused MeshUVIndex array
|
2023-09-30 22:58:37 +02:00 |
|
Magnus Norddahl
|
61635772fe
|
Remove XFloorToSurface and XFloorToSurfaceSides as they aren't needed
|
2023-09-30 22:56:10 +02:00 |
|
Magnus Norddahl
|
e2e0a78a2b
|
More code cleanup
|
2023-09-30 22:24:24 +02:00 |
|
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
|
9f5e8b5e4d
|
Minor cleanup and lightmapper fixes
|
2023-09-22 15:42:05 +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
|
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 |
|
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
|
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 |
|
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
|
9ef93da6de
|
Somehow fix lightmaps being corrupted in debug build
|
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 |
|
RaveYard
|
0f6ea51769
|
Minor refactor and fix 3d floors not being detected for lightmap updates
|
2023-09-10 23:42:00 +02:00 |
|
RaveYard
|
19e9ac1db3
|
Add cvar lm_scale for multiplying resolution of the lightmap
|
2023-09-10 23:42:00 +02:00 |
|
RaveYard
|
b163901862
|
WIP partial lightmapping
|
2023-09-10 23:42:00 +02:00 |
|
RaveYard
|
6078e339fc
|
Fix normals in wall surfaces that are squished into triangles
|
2023-09-07 10:27:42 +02:00 |
|
RaveYard
|
c05ef67679
|
Add ZDRay light intensity support
|
2023-09-06 19:04:26 +02:00 |
|
RaveYard
|
f360457899
|
Add ZDRay light intensity support
|
2023-09-06 15:15:58 +02:00 |
|
Magnus Norddahl
|
6ea7a2ee08
|
Muted some warnings
|
2023-09-05 17:59:09 +02:00 |
|
Magnus Norddahl
|
10a5e4d466
|
Add missing file and only include static lights in the lightmaps
|
2023-09-05 17:47:55 +02:00 |
|
RaveYard
|
2528048850
|
Line portal support
|
2023-09-05 17:43:38 +02:00 |
|
RaveYard
|
036debfac6
|
Sector portals sunlight only
|
2023-09-05 17:43:38 +02:00 |
|