Commit graph

20,935 commits

Author SHA1 Message Date
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
Magnus Norddahl
dffb6c7b06
Merge pull request #2 from nashmuhandes/BetterMouseCursors
Improve mouse cursor art for the standard games
2023-03-18 21:12:50 +01:00
nashmuhandes
374ed6ab58 Improve mouse cursor art for the standard games 2023-03-19 03:53:54 +08:00
Magnus Norddahl
b417958f17 Remove old vk_raytrace cvar 2023-03-17 00:06:33 +01:00
Magnus Norddahl
eac73d9eba Re-enable corona support 2023-03-16 23:49:33 +01:00
Magnus Norddahl
342d495c08 Fix some compile errors caused by cherry-picking an old commit 2023-03-16 23:17:23 +01:00
Magnus Norddahl
7eb9053e30 Update ZVulkan, rename vk_raytrace to gl_light_raytrace and support turning it on and off without a restart 2023-03-16 23:15:02 +01:00
Magnus Norddahl
d405229da1 Fix one more unix compile error 2023-03-16 23:01:15 +01:00
Magnus Norddahl
bf88eb1831 Fix compiler errors for unix
Prioritize mailbox over immediate when not using exclusive mode
2023-03-16 23:01:05 +01:00
Magnus Norddahl
4bbc88d358 Updates ZVulkan to latest version.
Also changes vsync off from mailbox to immediate since otherwise it doesn't work in exclusive full screen mode.
And finally it fixes a scratch buffer alignment bug with the vk raytrace thing
2023-03-16 23:00:56 +01:00
Magnus Norddahl
df7d31968d Change various defaults 2023-03-16 22:56:21 +01:00
Magnus Norddahl
151b60c436 Remove OpenGL and OpenGL ES backends 2023-03-16 22:09:19 +01:00
Magnus Norddahl
38a1a8d5cb Rename the project 2023-03-16 21:12:29 +01:00
Magnus Norddahl
be6f29c1d5 Remove github integration folders as they would have to be updated before they will work 2023-03-16 20:37:29 +01:00
Christoph Oelckers
3d38d5e30c - fixed bad character offset. 2023-03-04 10:47:21 +01:00