Magnus Norddahl
|
fd2b1e523c
|
Fix crash bug where an index buffer was bound as a vertex buffer
|
2023-09-25 21:20:13 +02:00 |
|
Rachael Alexanderson
|
bb111fa96d
|
- compile fixes for mac os
|
2023-09-25 21:20:13 +02:00 |
|
RaveYard
|
9d197e848d
|
Fix sky dome getting randomly influenced by the lightmaps
|
2023-09-25 21:20:13 +02:00 |
|
RaveYard
|
1cc0dec8dd
|
Reintroduce lm_max_updates
|
2023-09-25 21:20:13 +02:00 |
|
nashmuhandes
|
d4dae83cf4
|
- Add static variants of pulsing and flickering lights
- Clean up and reorganize dynlights.zs
|
2023-09-25 21:20:12 +02:00 |
|
Magnus Norddahl
|
11e6e1d049
|
Update the light list (we really need to do this in a less retarded way) when lm_always_update is active
|
2023-09-25 21:20:12 +02:00 |
|
Magnus Norddahl
|
f45ab9b75c
|
Add cvar for speed testing always updating the lightmap
|
2023-09-25 21:20:12 +02:00 |
|
Magnus Norddahl
|
b7618d3a5d
|
- Fix VkRaytrace::Raytrace not working properly if called multiple times per frame.
- Only call VkRaytrace::Raytrace once per scene
|
2023-09-25 21:20:12 +02:00 |
|
RaveYard
|
cdd6336793
|
Fix lastSurfaceCount growing forever
|
2023-09-25 21:20:12 +02:00 |
|
RaveYard
|
88a25e0274
|
Fix missing 'needsUpdate' check before pushing surface to the list
|
2023-09-25 21:20:12 +02:00 |
|
Magnus Norddahl
|
a6ff0a65d0
|
Move the visible surface list to HWDrawInfo
|
2023-09-25 21:20:12 +02:00 |
|
Magnus Norddahl
|
39312e898f
|
Change lightmapper to only use one image
|
2023-09-25 21:20:12 +02:00 |
|
Magnus Norddahl
|
644500de61
|
Fix warning
|
2023-09-25 21:20:12 +02:00 |
|
RaveYard
|
9b812a1f1e
|
Add ton of debug code hidden under 'developer' cvar for lightmap lump loading and other error detection measures
|
2023-09-25 21:20:11 +02:00 |
|
RaveYard
|
3943123ef6
|
Add error detections when the surfaces sizes do not match
|
2023-09-25 21:20:11 +02:00 |
|
RaveYard
|
439c47d399
|
Enforce ZDRay limit on default sampledistance when loading LIGHTMAP to avoid surface size mismatches.
|
2023-09-25 21:20:11 +02:00 |
|
RaveYard
|
dec222c9fe
|
Use UVs from the lightmap
|
2023-09-25 21:20:11 +02:00 |
|
RaveYard
|
00bd608dc5
|
Initial implementation of V2 lightmap lump loading
|
2023-09-25 21:20:11 +02:00 |
|
RaveYard
|
3cdf28eb23
|
Refactor CCMDs in doom_levelmesh.cpp
|
2023-09-25 21:20:11 +02:00 |
|
RaveYard
|
2036f9a973
|
Add stat lightmap and surfaceinfo ccmd
|
2023-09-25 21:20:11 +02:00 |
|
RaveYard
|
294a2c4e3c
|
Workaround to make 3d floor side surfaces detectable
|
2023-09-25 21:20:11 +02:00 |
|
RaveYard
|
3bf0669c57
|
Fix 3d floor surfaces accidentaly marked as sky
|
2023-09-25 21:20:10 +02:00 |
|
RaveYard
|
7c5e2c71b0
|
Skip portal and sky surfaces
|
2023-09-25 21:20:10 +02:00 |
|
RaveYard
|
9f8d1effcd
|
Optimize which surfaces are passed to lightmapper
|
2023-09-25 21:20:10 +02:00 |
|
Rachael Alexanderson
|
7610cade9f
|
- fixes for GCC on Linux
|
2023-09-25 21:20:10 +02:00 |
|
nashmuhandes
|
a1cab9c9f8
|
Mark Corona as abstract as it's not meant to be spawned directly
|
2023-09-25 21:20:10 +02:00 |
|
RaveYard
|
adccddebf8
|
Fix edge case where the lightmap lump surface touches the edge of the atlas page
|
2023-09-25 21:20:10 +02:00 |
|
RaveYard
|
3adabd205a
|
Clean unused code
|
2023-09-25 21:20:10 +02:00 |
|
RaveYard
|
dca5eb13f0
|
Fix variety of bugs and assume that any surface not contained in LIGHTMAP lump does not need updating
|
2023-09-25 21:20:10 +02:00 |
|
RaveYard
|
537cd7790d
|
Initial implementation for lightmap lump loading
|
2023-09-25 21:20:09 +02:00 |
|
RaveYard
|
2b4db4c601
|
Fix spotlight rotation
|
2023-09-25 21:20:09 +02:00 |
|
RaveYard
|
2c795a5a8b
|
Fix lightmapper still using hacks to detect levelmesh changes
|
2023-09-25 21:20:09 +02:00 |
|
Magnus Norddahl
|
776b615e10
|
Delay creating the accel struct until frame start
|
2023-09-25 21:20:09 +02:00 |
|
RaveYard
|
6a2135b315
|
Remove hacks associated with SetLevelMesh
|
2023-09-25 21:20:09 +02:00 |
|
Magnus Norddahl
|
d59be13830
|
Fix some validation errors
|
2023-09-25 21:20:09 +02:00 |
|
RaveYard
|
f975d12938
|
Fix CreateIndexedSectorVerticesLM to prevent holes in the floors/ceilings from appearing
|
2023-09-25 21:20:09 +02:00 |
|
Magnus Norddahl
|
49c327e291
|
Fix warnings
|
2023-09-25 21:20:09 +02:00 |
|
RaveYard
|
9595bd3b7a
|
Fix sample distance power of two rounding
|
2023-09-25 21:20:08 +02:00 |
|
RaveYard
|
5c60c9473f
|
Remove unused code from vk_lightmap.cpp
|
2023-09-25 21:20:08 +02:00 |
|
RaveYard
|
73f3d9166f
|
Remove awful hardcoded byte offset hack
|
2023-09-25 21:20:08 +02:00 |
|
RaveYard
|
834480995c
|
Fix lightmapper running background tasks forever
|
2023-09-25 21:20:08 +02:00 |
|
RaveYard
|
9b3a3c6115
|
Somehow fix lightmaps being corrupted in debug build
|
2023-09-25 21:20:08 +02:00 |
|
RaveYard
|
f9580f081e
|
Change surfaceIndices to surfaces
|
2023-09-25 21:20:08 +02:00 |
|
RaveYard
|
8e3b29de33
|
Fix floors not being updated
|
2023-09-25 21:20:08 +02:00 |
|
RaveYard
|
f0b1739b2d
|
Visible surfaces are gathered in processing (gathering) render phase and lightmaps drawn before rendering
|
2023-09-25 21:20:08 +02:00 |
|
RaveYard
|
f279fa69f4
|
WIP refactoring of surface gathering
|
2023-09-25 21:20:08 +02:00 |
|
RaveYard
|
f78739196f
|
Fix 3D floors not being marked as seen
|
2023-09-25 21:20:07 +02:00 |
|
RaveYard
|
2bdb495498
|
Minor refactor and fix 3d floors not being detected for lightmap updates
|
2023-09-25 21:20:07 +02:00 |
|
RaveYard
|
934ba83503
|
Add cvar lm_scale for multiplying resolution of the lightmap
|
2023-09-25 21:20:07 +02:00 |
|
RaveYard
|
8f202a7e96
|
Fix off by one
|
2023-09-25 21:20:07 +02:00 |
|