Commit graph

20,949 commits

Author SHA1 Message Date
Christoph Oelckers
b8f5511ee4 - fixed several warnings emitted by Clang. 2023-04-21 00:41:19 +08:00
Rachael Alexanderson
ccb1b7ac45 - update some copyright years 2023-04-21 00:41:19 +08:00
Ricardo Luís Vaz Silva
5d0a7392fa Fix possible memory corruption in TArray::Delete(index, count) 2023-04-21 00:39:00 +08:00
RaveYard
fe99da4104 Use simpler constructor for TArray in FBlockThingsIterator 2023-04-21 00:39:00 +08:00
RaveYard
2c55266f6b Fix TArray allocating 0 bytes in constructor 2023-04-21 00:39:00 +08:00
CandiceJoy
ef9cd53653 Fixed incorrect parameter type in A_CheckForResurrection. 2023-04-21 00:39:00 +08:00
Magnus Norddahl
9afc518bc1 Also update the mac icon 2023-04-19 16:12:53 +02:00
Magnus Norddahl
adc3d06d6c Replace the icon 2023-04-19 16:10:16 +02:00
Magnus Norddahl
5c9ff283a6 Only add the lightmode actually being used into the shader 2023-04-19 02:28:32 +02:00
Magnus Norddahl
6381280177 Remove virtual inheritance 2023-04-16 21:49:05 +02:00
Magnus Norddahl
6894eb013f Begin removing binding points from the hwrenderer layer.
Well known buffers should be created and managed by the backend, otherwise the backend just becomes an OpenGL emulator.
2023-04-16 19:30:27 +02:00
Magnus Norddahl
1b221db996 Remove dead code 2023-04-16 17:34:52 +02:00
Magnus Norddahl
184e73ab28 Add GetDevice function instead of accessing device member directly 2023-04-16 17:07:55 +02:00
Magnus Norddahl
cd35a0ad76 More folder adjustments 2023-04-16 16:51:52 +02:00
Magnus Norddahl
295eb252ab Change the folder structure of the vulkan backend to better reflect what is going on 2023-04-16 16:39:15 +02:00
Magnus Norddahl
4638cc44d2 Fix null pointer crash when drawing sprites with a null actor 2023-04-16 14:35:01 +02:00
Magnus Norddahl
1f5b7a0256 Add support for gl_light_raytrace for cards that do not support rayquery 2023-04-12 02:09:28 +02:00
Magnus Norddahl
f1c448df20
Merge pull request #10 from nashmuhandes/ZScriptNoUserSaveAndNoAutomap
Allow ZScript to control saving and the automap
2023-04-10 13:43:20 +02:00
nashmuhandes
8204879ff8 Allow ZScript to control saving and the automap 2023-04-09 03:52:58 +08:00
Magnus Norddahl
76c692ab7e
Merge pull request #7 from nashmuhandes/RotatingModelsWhenPausedFix
Stop rotating the models if the game is actually paused.
2023-04-08 02:36:26 +02:00
nashmuhandes
217e47db3a Stop rotating the models if the game is actually paused. 2023-04-08 06:55:32 +08:00
Magnus Norddahl
e442c4e4d2
Merge pull request #6 from nashmuhandes/coronadocs
Re-add corona docs that was meant to be part of the original pull req…
2023-04-08 00:20:42 +02:00
Magnus Norddahl
9c67187c13
Merge pull request #5 from nashmuhandes/gl_texture_modeldebugfix
Allow gl_texture to affect models. Aids in debugging lightmap contrib…
2023-04-08 00:20:04 +02:00
Magnus Norddahl
c969d5dba3
Merge pull request #4 from nashmuhandes/r_showhitbox1
Add hitbox debug rendering (r_showhitbox)
2023-04-08 00:19:40 +02:00
nashmuhandes
e32a7eeefa Re-add corona docs that was meant to be part of the original pull request that didn't make it into GZDoom 2023-04-08 06:16:44 +08:00
nashmuhandes
fb49a919cb Allow gl_texture to affect models. Aids in debugging lightmap contribution on models. 2023-04-08 05:58:15 +08:00
nashmuhandes
3a2b451955 Add hitbox debug rendering (r_showhitbox) 2023-04-08 05:19:23 +08:00
Magnus Norddahl
4c3848cfb2 Cache the result of traces so that it only needs to be done for visible moving actors 2023-04-07 18:44:59 +02:00
Magnus Norddahl
ba0243e378 Fix sunlight not working on models 2023-04-07 18:00:48 +02:00
Magnus Norddahl
caefc09549 Improve shader performance significantly by only including raytracing or shadowmaps in the shader if enabled 2023-04-07 04:22:43 +02:00
Magnus Norddahl
100c5d2954 Remove the old shaders 2023-04-07 02:33:33 +02:00
Magnus Norddahl
e411ca3119 Add +NOGRAVITY to coronas 2023-04-06 21:12:51 +02:00
Magnus Norddahl
74a4ad4633 Fix coronas 2023-04-06 21:11:29 +02:00
Magnus Norddahl
3b2507d072 Fix the clear screen shader bug
Fix texture set layout not matching the c++ code's version (vulkan validation error)
2023-04-06 21:03:05 +02:00
Magnus Norddahl
5ca4c51b7d Avoid stepping further into VkShaderManager::Get unless the shader has not been compiled 2023-04-06 19:48:28 +02:00
Magnus Norddahl
d5d6c07f53 Fix misc shader related issues 2023-04-06 19:36:58 +02:00
Magnus Norddahl
87ee014b5b Improve VkShaderProgram to handle more program types
Fix memory alignment issues with the shader/pipeline keys
2023-04-06 17:56:44 +02:00
Magnus Norddahl
34d2b2e440 Add sunlight trace 2023-04-06 16:13:03 +02:00
Magnus Norddahl
187b7f0956 Add some of the sunlight trace code 2023-04-06 01:04:03 +02:00
Magnus Norddahl
fd2ae4865c Merge tracelights 2023-04-05 23:14:25 +02:00
dpjudas
94a06d393f Add VkShaderKey and start preparing VkShaderManager to be able to handle a lot more shader permutations 2023-04-04 01:00:08 +02:00
Magnus Norddahl
44fed1451d Fix shader build errors and remove support for old deprecated shader types 2023-03-24 03:34:24 +01:00
Magnus Norddahl
c495c8c094 Add support for using #include in glsl files and improve glsl compile errors 2023-03-22 00:06:13 +01:00
Magnus Norddahl
6878dc5580 Move static layout code back to wadsrc 2023-03-21 20:24:08 +01:00
Magnus Norddahl
fabdc39ba7 Update ZVulkan 2023-03-21 20:23:10 +01:00
dpjudas
7816d33325 Begin refactor the shaders 2023-03-19 07:18:12 +01:00
Magnus Norddahl
46eeadec44
Merge pull request #3 from nashmuhandes/BetterDoomBulletPuff
Improve Doom's bullet puff's visuals by only making it translucent wh…
2023-03-18 21:51:40 +01:00
Magnus Norddahl
e05856a3a8
Merge pull request #1 from nashmuhandes/BetterDefaults
Change more default settings
2023-03-18 21:37:36 +01:00
nashmuhandes
896102c179 Change more default settings
- Show item counter on automap
- Enable thicker automap lines and anti-aliased lines for better visibility with high res displays
- Enable textured automap
- HUD border scaling factor to better match default status bar scaling
- Enable subtitles
- Set render quality to "quality" to fix level mesh seams (gl_seamless)
- Enable mouse in menus by default (instead of touchscreen-like)
- Don't show ENDDOOM when quitting the app
- Enable the first crosshair, and set its scale slightly smaller
- Grow crosshair when picking up items
- Set autoaim slider to 0
- Show nametags when switching items and weapons
- Always run enabled
- Disable save/load confirmation dialog
- Enable quicksave rotation
- Enable additively-translucent Doom rocket explosion
- Increase default particles to 10k, and increase the slider to 65k (engine limit)
- Disable night vision effect
- Set sprite clipping to "Always" as this looks better than having sprites sink into the geometry
- Set particle style to round as it matches the pixelated aesthetics better
2023-03-19 04:35:27 +08:00
nashmuhandes
8fef2c8e71 Improve Doom's bullet puff's visuals by only making it translucent when the sprite appears smoke-ey, and also always billboard it 2023-03-19 04:12:53 +08:00