Commit graph

23,052 commits

Author SHA1 Message Date
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
Rachael Alexanderson
e963c6c1ba
Update README.md 2025-01-20 10:43:35 -05:00
Magnus Norddahl
d8d1742d0a Add lm_bounce and lm_ao to ZDRayInfo
Make vktool ignore the existing lightmap lump
Ignore the lightmapper cvars in vktool
2025-01-19 15:34:39 +01:00
Magnus Norddahl
df125c3916 Turn not returning from a function into an error!!!! 2025-01-19 15:22:17 +01:00
Magnus Norddahl
fab7ec0ad1 Add vktool to the CI builds 2025-01-19 13:32:19 +01:00
Magnus Norddahl
d435c9c144 Fix crash when switching from a level with lightmaps to one without 2025-01-19 12:36:40 +01:00
Ricardo Luís Vaz Silva
54b8dbc0b3 stop crash with vec3 uniforms
(remove legacy bullshit)
2025-01-13 10:15:53 +08:00
Magnus Norddahl
6ba2cff8cb Replace the savelightmap and deletelightmap ccmds with vktool 2025-01-12 20:03:19 +01:00
Magnus Norddahl
5879c0dc79 Support directories for the -iwad parameter 2025-01-12 19:57:29 +01:00
Magnus Norddahl
303a7c27b0 Bake the lightmap 2025-01-12 15:24:42 +01:00
Ricardo Luís Vaz Silva
1584e8c5fd remove lightmap uv from material 2025-01-12 13:19:12 +01:00
Ricardo Luís Vaz Silva
19b395b296 fix indentation 2025-01-12 13:19:12 +01:00
Ricardo Luís Vaz Silva
f4b7c3933e let cpu traces pass through non-opaque surfaces 2025-01-12 13:19:12 +01:00
Ricardo Luís Vaz Silva
5b1c1db0e9 move PBR and SPECULAR handling into SetMaterialProps 2025-01-12 13:19:12 +01:00
Ricardo Luís Vaz Silva
5eb58d2212 move LightmapCoord out of SetMaterialProps for better compat with older shaders 2025-01-12 13:19:12 +01:00
Ricardo Luís Vaz Silva
73e17842d3 remove AActor from common 2025-01-11 11:23:42 +01:00
Ricardo Luís Vaz Silva
fcf4c9d07e implement actor uniforms 2025-01-11 11:23:42 +01:00
Ricardo Luís Vaz Silva
d4d379c476 parse actor actor uniform field bindings 2025-01-11 11:23:42 +01:00
Ricardo Luís Vaz Silva
91300ac3b4 implement per-class globalshaders 2025-01-11 11:23:42 +01:00
Ricardo Luís Vaz Silva
8c3268ae1c pass actor to FModelRenderer::SetMaterial 2025-01-11 11:23:42 +01:00
Ricardo Luís Vaz Silva
24abcc18d1 deduplicate defines/layout block code 2025-01-11 11:23:42 +01:00
Ricardo Luís Vaz Silva
e246639085 implement per-map shaders
per-class shaders TODO
2025-01-11 11:23:42 +01:00
Ricardo Luís Vaz Silva
102a189525 Remove dead code in FMaterial
not called anywhere
2025-01-11 11:23:42 +01:00
Ricardo Luís Vaz Silva
3ae7bf3911 allow lightmap coords to be modified by SetupMaterial 2025-01-11 11:23:42 +01:00
Ricardo Luís Vaz Silva
57f4fb1d37 force zengine to be linked as a whole 2025-01-10 13:45:50 -05:00
Rachael Alexanderson
71cafec63b
- allow defcvars from pwad files 2025-01-10 05:22:03 -05:00
Ricardo Luís Vaz Silva
c72bad053f add gl_wireframe and gl_wireframecolor 2025-01-09 21:53:28 +01:00
Magnus Norddahl
d8c0e4284f Remove vcpkg because that garbage thing keeps failing builds... 2025-01-08 23:29:01 +01:00
Magnus Norddahl
bddf1a2548 Load a map 2025-01-08 23:29:01 +01:00
Magnus Norddahl
794cfd78c8 Process commandlets without always initializing the entire engine 2025-01-08 23:29:01 +01:00
Magnus Norddahl
5491aecd5f Add commandlets 2025-01-08 23:29:01 +01:00
Magnus Norddahl
79a8202121 Fix extern bool statement containing an assignment 2025-01-08 23:29:00 +01:00
Magnus Norddahl
46ad7f622c Fix compile errors 2025-01-08 23:29:00 +01:00
Magnus Norddahl
77b23a58f0 Boot vulkan without a surface 2025-01-08 23:29:00 +01:00