Commit graph

23,085 commits

Author SHA1 Message Date
nashmuhandes
899d40faba Add missing menu entries for new features 2025-02-03 17:39:39 +08:00
nashmuhandes
166f0cdc5b Add gl_fakemodellightintensity to allow adjusting the fake sunlight's intensity on models 2025-02-03 16:30:22 +08:00
Magnus Norddahl
7a59234bb4 Add lm_dynlights CVAR for running dynamic lights entirely in lightmaps 2025-02-01 21:21:33 +01:00
Magnus Norddahl
b8078fdb32 Replace wildcards with something that is faster overall and for debug builds in particular 2025-02-01 12:11:42 +01:00
nashmuhandes
87bda3d8d4 Remove bone component cache, VKDoom Edition 2025-01-30 21:54:29 +08:00
nashmuhandes
aba5cbf768 Revert "fix for vkdoom"
This reverts commit 5eb9a1095e.

Revert "upload bones 😅"

This reverts commit cc766311f7.

Revert "remove bone component cache to decrease memory consumption"

This reverts commit e2908ce0a3.
2025-01-30 20:44:14 +08:00
Ricardo Luís Vaz Silva
5eb9a1095e fix for vkdoom 2025-01-30 20:37:08 +08:00
Ricardo Luís Vaz Silva
cc766311f7 upload bones 😅 2025-01-30 20:37:08 +08:00
Ricardo Luís Vaz Silva
e2908ce0a3 remove bone component cache to decrease memory consumption
caching this is entirely unnecessary, as it changes every frame
2025-01-30 20:37:08 +08:00
Magnus Norddahl
b04ded680c Require AVX2 for vkdoom and tell the compiler to use it (no point in supporting CPU's older than Haswell as it predates Vulkan) 2025-01-29 19:40:07 +01:00
Ricardo Luís Vaz Silva
bd4a4a827c fix psprite gpu lighting 2025-01-28 03:54:55 +01:00
dpjudas
af6ec41477 Enable the fault feature 2025-01-28 02:21:31 +01: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
Ricardo Luís Vaz Silva
d09c749e1d fix typo in varying parse code 2025-01-28 00:56:37 +01:00
Magnus Norddahl
0d976d35c5 Fix crash when building the accel struct for scenes with no level mesh 2025-01-27 21:21:14 +01:00
Magnus Norddahl
2bc64af799 Don't write a fault message if the driver didn't report any 2025-01-27 00:05:23 +01:00
Magnus Norddahl
0dadfd3b82 Fix missing sType fields 2025-01-26 23:30:26 +01:00
nashmuhandes
a1e229a583 Remove coronas from the blockmap 2025-01-26 22:46:14 +08:00
Magnus Norddahl
a36316e7c5 Log vulkan device lost faults 2025-01-26 13:59:40 +01:00
Magnus Norddahl
4da3317020 Fix descriptor set pool being too small 2025-01-25 09:20:33 +01:00
dpjudas
17e59fb52e Add some error checks 2025-01-23 21:40:56 +01:00
Magnus Norddahl
1d2a4961ad Fix descriptor set bug 2025-01-23 15:01:23 +01:00
Magnus Norddahl
68489d6bf0 Fix the vertex attribute bindings 2025-01-23 14:52:25 +01:00
Magnus Norddahl
4ff328e074 Should have launched the app before committing the previous commit :) 2025-01-23 13:22:38 +01:00
Magnus Norddahl
02603370b5 Fix how layout_shared is added to the shader 2025-01-23 13:19:31 +01:00
Magnus Norddahl
f813ff517f Fix BLAS vertex format (has to be XYZ and not XYZW) 2025-01-23 12:52:19 +01:00
Magnus Norddahl
4362a85bbe Fix "The Vulkan spec states" not getting muted 2025-01-23 12:51:46 +01:00
Gutawer
9faeec214b improve SDL mouse handling in menus 2025-01-23 18:53:19 +08:00
Ricardo Luís Vaz Silva
06a328fcf9 add missing check 2025-01-22 23:11:33 +01:00
Ricardo Luís Vaz Silva
d24b69d26b fix lights on vts 2025-01-22 20:11:35 +01:00
Magnus Norddahl
6cbd89d032 Fix surface index upload bug and add bounds checking 2025-01-22 20:10:36 +01:00
Ricardo Luís Vaz Silva
b0bc37d509 remove mentions of zdray from the udmf spec 2025-01-23 00:36:35 +08:00
Boondorl
b68c7545cd Fixes for dynamic lights
Fixed released lights not unlinking in rare cases. Fixed first Actor in cache being missed when destruction checking. Fixed results cache not being cleared on update.
2025-01-21 21:19:03 +01:00
dpjudas
f127c2c164 Replace targSubsector with targSection as that is what it is nowadays 2025-01-21 01:54:53 +01:00
nashmuhandes
47260dc726 Fix wrong declaration 2025-01-21 04:33:06 +08:00
Ricardo Luís Vaz Silva
53187ec640 add fake light for model contrast 2025-01-20 18:18:01 +01:00
Ricardo Luís Vaz Silva
fb0df2a5b6 remove bad cast 2025-01-20 16:45:08 +01:00
Ricardo Luís Vaz Silva
421029e1df fix mipmapping 2025-01-20 16:45:08 +01:00
Ricardo Luís Vaz Silva
eb6e085038 fix hud model/sprite rendering 2025-01-20 16:45:08 +01:00
Ricardo Luís Vaz Silva
5a3a415811 add '-1' as the default cvar option 2025-01-20 16:45:08 +01:00
Ricardo Luís Vaz Silva
7f8830a4ff fix gpu model lighting 2025-01-20 16:45:08 +01:00
Ricardo Luís Vaz Silva
91fb87e95e trace from actor center 2025-01-20 16:45:08 +01:00
Ricardo Luís Vaz Silva
b862adb747 fix normals for sprite lighting 2025-01-20 16:45:08 +01:00
Ricardo Luís Vaz Silva
a7b20183f1 gpu actor tracing (NOT WORKING) 2025-01-20 16:45:08 +01:00
Ricardo Luís Vaz Silva
50e4eb34b2 lower MAX_LIGHT_DATA since it's now a count of structs not of bytes 2025-01-20 16:45:08 +01:00
Ricardo Luís Vaz Silva
5adb61a9b4 implement per-vertex shading in preparation for actor tracing 2025-01-20 16:45:08 +01:00
Ricardo Luís Vaz Silva
693413e606 replace vec4 list with proper struct for lights 2025-01-20 16:45:08 +01:00
Ricardo Luís Vaz Silva
998fdec6e8 unify layouts (and move in/out variables to c++) in preparation for gpu sprite traces 2025-01-20 16:45:08 +01:00
Ricardo Luís Vaz Silva
8d0ab22e05 wireframe improvements 2025-01-20 16:45:08 +01:00