Commit graph

21200 commits

Author SHA1 Message Date
Magnus Norddahl
d97f9f3055 Fix sunlight not working on models 2023-09-25 21:18:59 +02:00
Magnus Norddahl
c23a109105 Improve shader performance significantly by only including raytracing or shadowmaps in the shader if enabled 2023-09-25 21:18:59 +02:00
Magnus Norddahl
cfa3f8ecc4 Remove the old shaders 2023-09-25 21:18:59 +02:00
Magnus Norddahl
ee00ce86cc Add +NOGRAVITY to coronas 2023-09-25 21:18:59 +02:00
Magnus Norddahl
583f194622 Fix coronas 2023-09-25 21:18:59 +02:00
Magnus Norddahl
11ca6bb067 Fix the clear screen shader bug
Fix texture set layout not matching the c++ code's version (vulkan validation error)
2023-09-25 21:18:58 +02:00
Magnus Norddahl
162ebe0f18 Avoid stepping further into VkShaderManager::Get unless the shader has not been compiled 2023-09-25 21:18:58 +02:00
Magnus Norddahl
f11318ff99 Fix misc shader related issues 2023-09-25 21:18:58 +02:00
Magnus Norddahl
3b93dd3d7e Improve VkShaderProgram to handle more program types
Fix memory alignment issues with the shader/pipeline keys
2023-09-25 21:18:58 +02:00
Magnus Norddahl
e5848ead7a Add sunlight trace 2023-09-25 21:18:58 +02:00
Magnus Norddahl
2bcab0e34d Add some of the sunlight trace code 2023-09-25 21:18:58 +02:00
Magnus Norddahl
1b81e40842 Add AABB tree collision structure to the doom level mesh for threadsafe trace calls for the sprite light 2023-09-25 21:18:58 +02:00
Magnus Norddahl
34a1ecdee1 Remove light probes completely and make decals use the lightmap 2023-09-25 21:18:58 +02:00
Magnus Norddahl
b81a51dabe Add missing reset of LightIndex after use 2023-09-25 21:18:57 +02:00
Magnus Norddahl
4701ce96d8 Switch actors from using light probes to performing trace visibility tests 2023-09-25 21:18:57 +02:00
dpjudas
ff6d412237 Add VkShaderKey and start preparing VkShaderManager to be able to handle a lot more shader permutations 2023-09-25 21:18:57 +02:00
Magnus Norddahl
e34ee1e462 Fix shader build errors and remove support for old deprecated shader types 2023-09-25 21:18:57 +02:00
Magnus Norddahl
a267cf737e Add support for using #include in glsl files and improve glsl compile errors 2023-09-25 21:18:57 +02:00
Magnus Norddahl
8682361194 Move static layout code back to wadsrc 2023-09-25 21:18:57 +02:00
dpjudas
15ff88d7a4 Begin refactor the shaders 2023-09-25 21:18:57 +02:00
nashmuhandes
611da0d65d Change more default settings
- Show item counter on automap
- 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 the first crosshair, and set its scale slightly smaller
- Grow crosshair when picking up items
- 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

The following changes from the original commit were not taken:
- Enable thicker automap lines and anti-aliased lines for better visibility with high res displays
- Enable mouse in menus by default (instead of touchscreen-like)
- Don't show ENDDOOM when quitting the app
- Set autoaim slider to 0
- 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-09-25 21:18:57 +02:00
nashmuhandes
4f1fde95ca Improve mouse cursor art for the standard games 2023-09-25 21:18:56 +02:00
Magnus Norddahl
7791201d08 Remove old vk_raytrace cvar 2023-09-25 21:18:56 +02:00
Magnus Norddahl
524bec6979 Re-enable corona support
# Conflicts:
#	wadsrc/static/language.0
#	wadsrc/static/language.csv
2023-09-25 21:18:56 +02:00
Magnus Norddahl
581f6e428e Fix some compile errors caused by cherry-picking an old commit 2023-09-25 21:18:56 +02:00
Magnus Norddahl
35df964d61 Update ZVulkan, rename vk_raytrace to gl_light_raytrace and support turning it on and off without a restart 2023-09-25 21:18:56 +02:00
Magnus Norddahl
2be0494413 Change various defaults 2023-09-25 21:18:56 +02:00
Magnus Norddahl
6732b56fc9 Remove OpenGL and OpenGL ES backends 2023-09-25 21:18:56 +02:00
Magnus Norddahl
1ac428a932 Pulled in some changes from "Rename the project" 2023-09-25 21:18:55 +02:00
Professor Hastig
d07de089c0 fix DSDHacked state creation.
Several problems here:

* the crucial call did not override 'mustexist'.
* once created an extended stare would not be looked at anymore.
* extended states received no usage flags.
2023-09-25 16:10:45 +02:00
Professor Hastig
9d737afa9c fixed actor class creation for DSDHacked
* the did not get defaults assigned.
* the RETARGETAFTERSLAM flag must also be set for newly created classes here
2023-09-25 16:10:45 +02:00
Christoph Oelckers
cd5cf6b7fe - damn this slipped through. :( 2023-09-24 23:17:30 +02:00
Christoph Oelckers
38e7ad8e6d - this is 4.11 2023-09-24 23:03:58 +02:00
Christoph Oelckers
30c49fb769 - language update 2023-09-24 23:02:57 +02:00
Christoph Oelckers
7491361863 - do some cleansing of the GPU string and add CPU name when only getting an anonymous series name.
The cleansing is mainly for AMD's Linux drivers which report too much extraneous info here.
The CPU name helps when classifying anonymous iGPU series.
2023-09-24 22:20:50 +02:00
Christoph Oelckers
955b8bae1a Revert "Add more information in saved game comments"
This reverts commit 56c2bd018d.

Considering the follow-up I think it's best to scrap this.
2023-09-21 19:26:56 +02:00
Rachael Alexanderson
00e0a9fd76 - address GCC error in d_anonstats.cpp 2023-09-20 23:58:30 -04:00
Hugo Locurcio
ffcfec66b3 Store kills/items/secrets in save comment only if visible on HUD
This prevents spoiling levels when the HUD information is disabled.

This change is not retroactive: it has no effect on existing savegames.
You need to save again for this change to have an effect.
2023-09-20 23:51:58 -04:00
Christoph Oelckers
5870ec2e7a - fix missing prototype in Linux 2023-09-20 23:58:01 +02:00
Christoph Oelckers
7f9df12431 - Survey: return more meaningful info for current OS and Vulkan version. 2023-09-20 20:03:07 +02:00
Christoph Oelckers
b3cb2fafc7 stats 2023-09-20 19:49:54 +02:00
inkoalawetrust
69e67037f8 Changed the variable type of Crossed3DWater.
Seems like there was some kind of oversight. Crossed3DWater is an F3DFloor pointer, not sector_t.
2023-09-20 18:47:49 +02:00
alexey.lysiuk
e3e5071475 - updated continuous integration workflow
* bump GCC targets to 9 and 12
* bump Clang targets to 11 and 15
* use Ubuntu 22.04 images
* use actual versions of checkout and upload-artifact actions
* remove lots of needless formatting, double quotes in particular
* remove unused dependencies
* remove obsolete Strawberry Perl workaround
2023-09-20 11:49:00 +03:00
nashmuhandes
0b3e9b1025 Add ZScript constants used by FallAndSink 2023-09-19 17:36:54 +02:00
Rachael Alexanderson
ce893d2cd4 - remove some double semicolons 2023-09-19 07:29:36 -04:00
Magnus Norddahl
cfe30c1d47 Fix stdexcept include errors 2023-09-18 04:59:13 -04:00
Cacodemon345
ba9ce0e83f Switch to miniz from zlib 2023-09-17 23:52:51 +02:00
Rachael Alexanderson
9b3409b28d - update stats script 2023-09-17 06:13:21 -04:00
Rachael Alexanderson
25e9561279 - change anonstats cvars in order to allow easier updates to them in the future 2023-09-17 04:46:06 -04:00
Christoph Oelckers
2666f22ed7 - new text duplicate for pending menu redesign 2023-09-17 09:04:44 +02:00