Commit graph

19,007 commits

Author SHA1 Message Date
dpjudas
9ca058ccc9 Create wall surfaces directly from the HWWall output 2023-12-26 04:30:56 +01:00
Magnus Norddahl
d0d964ae42 Hook up HWWall and use the real main.fp shader for the level mesh 2023-12-26 04:30:56 +01:00
Magnus Norddahl
5f50160108 Prepare surface creation code to use HWWall 2023-12-26 04:30:56 +01:00
Magnus Norddahl
9f963e2c06 Rename lightmap fields to surface as it is being used for more than lightmaps now 2023-12-26 04:30:56 +01:00
Magnus Norddahl
4f4d859fd9 Move some code 2023-12-26 04:30:56 +01:00
dpjudas
f83ae7487f Split into more files 2023-12-26 04:30:56 +01:00
Magnus Norddahl
6a971dbaf4 Remove the memory barrier again as such a guarantee is provided by vkSubmitQueue 2023-12-26 04:30:55 +01:00
Magnus Norddahl
418a76ecec Add pipeline barrier for draw indirect calls 2023-12-26 04:30:55 +01:00
Magnus Norddahl
f1b15c5000 Fix the second vertex buffer binding bug 2023-12-26 04:30:55 +01:00
Magnus Norddahl
d3da7a8443 Fix UV order 2023-12-26 04:30:55 +01:00
Magnus Norddahl
f550f5b05a Hook up bindless textures for gl_levelmesh 2023-12-26 04:30:55 +01:00
Magnus Norddahl
9edfbcd10e Create different buffer for uniform indexes that works for the vertex shader 2023-12-26 04:30:55 +01:00
Magnus Norddahl
d06a9e1305 Hook up surface index buffer 2023-12-26 04:30:55 +01:00
Magnus Norddahl
f8fd08a623 Clean up VkDescriptorSetManager a bit and bind the surface uniforms when drawing with gl_levelmesh 2023-12-26 04:30:54 +01:00
Magnus Norddahl
ba7dfb8a8f Add uniforms to level mesh and upload them to the GPU 2023-12-26 04:30:54 +01:00
Magnus Norddahl
e713299410 Rename StreamData to SurfaceUniforms 2023-12-26 04:30:54 +01:00
Magnus Norddahl
240d68d7ae Merge SurfaceVertex with FFlatVertex and draw the lightmaps 2023-12-26 04:30:54 +01:00
Magnus Norddahl
e9620e64a4 Enable include directive and use the latest version of glsl, if available 2023-12-14 12:39:24 +01:00
Magnus Norddahl
dfae2a25b0 Add support for using #include in postprocess shaders 2023-12-14 12:28:11 +01:00
nashmuhandes
72e3c01449 Revert Fogball to a scripted class 2023-12-11 11:38:18 +01:00
nashmuhandes
17aac06007 - Use the Fogball's 4th arg for the radius
- Add Fogball DoomEdNum
2023-12-11 11:37:24 +01:00
Magnus Norddahl
a76dfafbaa Fix misc bugs in the fogball implementation - it works now 2023-12-11 11:37:24 +01:00
nashmuhandes
909309f1e8 Use the actor fields intended for fogball customization 2023-12-11 11:36:43 +01:00
dpjudas
c8f6182f36 Some minor adjustments 2023-12-11 11:36:42 +01:00
dpjudas
81cdc402c9 Add code collecting fogballs from the visible scene 2023-12-11 11:34:14 +01:00
Magnus Norddahl
1d0fed0326 Add the shader math needed to draw fogballs 2023-12-11 11:28:55 +01:00
nashmuhandes
054ca24328 Implement fogball class 2023-12-11 11:28:04 +01:00
Magnus Norddahl
58381ec762 Use a TArrayView for the lightmap arrays 2023-12-07 12:48:48 +01:00
Magnus Norddahl
91ca6c39a3 Add support for loading older custom shaders 2023-12-07 12:19:19 +01:00
nashmuhandes
712a8b70d5 Fixed missing logic for MAPINFO's NoAutoSaveOnEnter 2023-11-27 07:00:25 +08:00
Magnus Norddahl
d93c1798f6 Merge remote-tracking branch 'gzdoom/master' 2023-10-27 20:44:09 +02:00
Christoph Oelckers
fb4667b9bb fix coronas 2023-10-27 20:35:06 +02:00
Professor Hastig
4d88e82e32 added Wads.GetLumpLength. 2023-10-26 09:41:27 -04:00
Professor Hastig
77e5fd3081 fixed skewing for lower tiers. 2023-10-26 09:40:31 -04:00
Professor Hastig
a8c1f7a637 always save the map WAD in a savegame's metadata, even if it is from the IWAD
Otherwise the savegame loader will not be able to validate an IWAD savegame while the actual level comes from a different file.
2023-10-26 07:49:17 -04:00
Professor Hastig
1e8b3ea65d fix map WAD check for savegame validation. 2023-10-26 07:49:17 -04:00
Magnus Norddahl
4665f8ff79 Merge remote-tracking branch 'gzdoom/master' 2023-10-25 22:25:12 +02:00
Christoph Oelckers
eeac40fffc take most direct drawinfo references out of HWWall. 2023-10-25 21:35:42 +02:00
Christoph Oelckers
1f5df23818 took several functions out of HWDrawInfo.
The only thing they needed from that class is the Level pointer and the light mode, this is better passed in as function argument.
2023-10-25 21:19:58 +02:00
Christoph Oelckers
28400a12f1 fixed savegame file name check.
Writer and reader for the savegame metadata were mismatched so the readback of non-ASCII filenames failed.
2023-10-25 17:27:41 +02:00
Rachael Alexanderson
6d1ebf5f27 - allow FORCEBACKCULLFACES to work with hud models 2023-10-25 10:57:48 -04:00
Professor Hastig
70e4dd17b7 fix UMAPINFO's intermusic being used at the summary screen. 2023-10-25 16:25:24 +02:00
Professor Hastig
82c492f3d7 widen the special field in FBoomArgs.
This code still assumed that all special types fit into 8 bits which is no longer the case.
2023-10-25 16:24:21 +02:00
Professor Hastig
731cad7553 do not print all GL extensions to the log for the GLES renderer. 2023-10-25 16:23:44 +02:00
inkoalawetrust
f3d44f8131 Exposed P_GetMidTexturePosition() to ZScript. 2023-10-25 16:23:29 +02:00
Christoph Oelckers
b48caddb96 reworked the skewing properties.
The Eternity-based definitions are currently disabled due to unclear semantics and overall unsatisfying design. They can be re-enabled once their precise working has been established.
New properties were added to replace them with something that will be clearly specified and is fully ortohonal i.e. they will allow to align an upper tier skew with the floor as well and a lower tier's skew with a ceiling.
2023-10-20 18:14:20 +02:00
Professor Hastig
f92f6b8de4 added wall texture skewing.
This uses the same UDMF properties as Eternity recently introduced for the same feature.
2023-10-20 08:23:56 +02:00
Christoph Oelckers
92bbaa7531 fix a few minor issues.
* make Corona a fully scripted class so that AActor can be made final again.
* add global vkversion variable for use by the survey code.
* move progress bar on generic start screen to the bottom and made it longer.
* revert BulletPuff to its GZDoom version because the changes are not compatible with Dehacked.
2023-10-19 22:48:25 +02:00
Magnus Norddahl
3cff0de273 Turn off gl_levelmesh 2023-10-19 22:37:17 +02:00
Magnus Norddahl
dec03cb265 Fix compile errors after rebase 2023-10-19 22:16:11 +02:00