Commit graph

18,354 commits

Author SHA1 Message Date
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
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
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
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
74a4ad4633 Fix coronas 2023-04-06 21:11:29 +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
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
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
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
John Stebbins
c3d99fa699 Allow GAMEINFO LOAD to load directories
Addresses part of enhancement issue #2011
2023-02-23 18:35:15 +01:00
Christoph Oelckers
7acf23f213 - fixed typo in string label. 2023-02-19 12:47:16 +01:00
Ricardo Luís Vaz Silva
590475a8e3 Improve Services 2023-02-19 08:11:08 +01:00
Magnus Norddahl
b0dfa06201 Add dynamic light support to true color slope drawer 2023-02-19 08:06:49 +01:00
Magnus Norddahl
99f2b5d891 Fix misc bugs for dynamic lights in the pal slope drawer 2023-02-19 08:06:49 +01:00
Magnus Norddahl
18bc384807 Add dynamic lights to pal slope drawer 2023-02-19 08:06:49 +01:00
Christoph Oelckers
087050c201 - use uniform buffers for dynamic lights everywhere.
Branching on SSBO content does not work that well on NVidia so it is better disabled.
So far only implemented for OpenGL - Vulkan needs more work.
2023-02-18 12:22:26 +01:00
Ricardo Luís Vaz Silva
b84bf176e1 Fix Software Slope Rendering for non-1.2 pixel ratios 2023-02-17 14:15:46 -05:00
Rachael Alexanderson
4475240da8 - rename the flags MNOTVISIBLE and VISALWAYSFAIL to MINVISIBLE and MVISBLOCKED respectively, to reflect what they really do 2023-02-15 11:51:48 -05:00
Rachael Alexanderson
ee18123f01 - check VISALWAYSFAIL against SF_IGNOREVISIBILITY 2023-02-15 10:47:31 -05:00
Rachael Alexanderson
45f67bdd50 - add +VISALWAYSFAIL flag 2023-02-14 23:14:35 -05:00
Rachael Alexanderson
8af2f5aaf6 - add +mnotvisible flag as per feature suggestion: https://forum.zdoom.org/viewtopic.php?t=77277 2023-02-13 13:32:44 -05:00
Rachael Alexanderson
ea720605d4 Revert "Fixed an error where implicit pointer casts should've failed but didn't."
This reverts commit 68d3f474ce.

# Conflicts:
#	src/common/scripting/backend/codegen.cpp
2023-02-11 11:30:05 -05:00
Christoph Oelckers
17800f2504 - removed bad #include 2023-02-11 12:37:28 +01:00
Christoph Oelckers
f6bfc48d9f - Backend update from Raze. 2023-02-11 12:05:45 +01:00
CandiceJoy
68d3f474ce Fixed an error where implicit pointer casts should've failed but didn't.
Signed-off-by: CandiceJoy <candice@candicejoy.com>
2023-02-11 00:02:51 -05:00
Emile Belanger
c41b07531a Fixing GLES mode to work on real GLES hardware and OpenGL 2 again 2023-02-10 13:44:11 -05:00