dpjudas
c7cee9e527
Fix corona texture mode bug
2024-03-06 04:21:45 +01:00
Magnus Norddahl
7bc2ed5436
Remove the submesh class as that caused more problems than it solved
2024-01-29 21:56:42 +01:00
Magnus Norddahl
73ada7f84b
Merge remote-tracking branch 'gzdoom/staging'
2024-01-02 17:10:47 +01:00
Magnus Norddahl
48b6a7ec46
Split level mesh surface from lightmap tiles as we have multiple surfaces per tile
2023-12-26 04:31:00 +01:00
Magnus Norddahl
4ca2ffd58e
Implement line portals and improve sky handling
2023-12-26 04:31:00 +01:00
Magnus Norddahl
e491186c80
Don't use the level mesh recursively through portals for now
2023-12-26 04:30:59 +01:00
Magnus Norddahl
3c9f56d989
Add support for more portal types
2023-12-26 04:30:59 +01:00
Magnus Norddahl
c59108ece0
Lightmapper fixes
2023-12-26 04:30:59 +01:00
Magnus Norddahl
412be46e08
Misc surface and lightmapper related cleanup and renaming
2023-12-26 04:30:59 +01:00
Magnus Norddahl
4a95eafc06
Use the stencil and depth buffer settings from RenderState when drawing the level mesh
2023-12-26 04:30:58 +01:00
Magnus Norddahl
ac212e0147
Use HWFlat for ceilings and floors
2023-12-26 04:30:57 +01:00
Magnus Norddahl
5443ed76ec
Draw the sprites
2023-12-26 04:30:57 +01:00
Magnus Norddahl
86ac07f2f8
Implement drawing HWWall portals using the level mesh and occlusion queries
2023-12-26 04:30:57 +01:00
Magnus Norddahl
47f17b1c03
Move DrawLevelMesh to RenderState
2023-12-26 04:30:57 +01:00
Magnus Norddahl
a76dfafbaa
Fix misc bugs in the fogball implementation - it works now
2023-12-11 11:37:24 +01:00
dpjudas
81cdc402c9
Add code collecting fogballs from the visible scene
2023-12-11 11:34:14 +01:00
Christoph Oelckers
fb4667b9bb
fix coronas
2023-10-27 20:35:06 +02:00
Magnus Norddahl
4665f8ff79
Merge remote-tracking branch 'gzdoom/master'
2023-10-25 22:25:12 +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
9a334570f0
Add lm_dynamic UDMF boolean on sectors for marking if a sector should update its lightmap dynamically
2023-10-17 19:10:39 +02:00
Magnus Norddahl
5e3d6e39a0
Merge gl_light_shadowmap and gl_light_raytrace cvars as gl_light_shadows
...
Rename gl_shadowmap_filter to gl_light_shadow_filter as it applies to raytraced shadows as well
2023-10-15 16:14:00 +02:00
Magnus Norddahl
65929d021f
Add support for multiple meshes (DoomLevelSubmesh)
2023-09-25 23:28:49 +02:00
Magnus Norddahl
1dd2605200
Retrieve the light list on the fly rather than try to sync it
2023-09-22 16:35:50 +02:00
Magnus Norddahl
5b2dad99a7
Disable moving lights for now as that's what caused the FPS drop for lm_always_update
2023-09-22 11:32:20 +02:00
Magnus Norddahl
733624f111
Update the light list (we really need to do this in a less retarded way) when lm_always_update is active
2023-09-16 05:38:30 +02:00
Magnus Norddahl
24bd3d089d
Add cvar for speed testing always updating the lightmap
2023-09-16 05:33:00 +02:00
Magnus Norddahl
2178de0c6c
- Fix VkRaytrace::Raytrace not working properly if called multiple times per frame.
...
- Only call VkRaytrace::Raytrace once per scene
2023-09-16 05:12:31 +02:00
Magnus Norddahl
d9b066ad37
Move the visible surface list to HWDrawInfo
2023-09-15 20:45:03 +02:00
nashmuhandes
9e0bf90be6
Merge remote-tracking branch 'remotes/ZDoom/gzdoom/staging' into gzd_staging
2023-08-22 09:09:51 +08:00
Professor Hastig
666a99f204
lightmode refactor
...
* make all legacy light modes except 'Doom' MAPINFO only. A CVAR still exists for testing but its value won't be saved to the config.
* user can only select between "performance', 'software' and 'vanilla'. 'performance' is the old 'Doom' mode which is still needed to speed things up on low end hardware.
* MAPINFO can not enforce any of the two software light modes, as low end users require the option to change this to the 'performance' setting. Selecting one will always revert to the user's light mode selection.
2023-07-17 22:50:05 +02:00
Magnus Norddahl
3be36b3aa3
Hook up portals to gl_meshcache
2023-07-04 01:16:17 +02:00
Magnus Norddahl
a7f4971d5d
Add HWDrawContext so that multiple threads can maintain their own drawinfo without need for synchronization
2023-06-29 03:33:07 +02:00
Magnus Norddahl
1fd14f1140
Remove FFlatVertexBuffer
2023-05-08 23:12:14 +02:00
Magnus Norddahl
d7a7953d10
Move bone buffer to backend
2023-04-30 04:49:06 +02:00
Magnus Norddahl
f2585a3b17
Manage the light buffer in the backend
2023-04-30 03:43:38 +02:00
Magnus Norddahl
aadb1c31b6
Manage viewpoint buffer internally in the backend
2023-04-30 02:32:04 +02:00
Magnus Norddahl
87c3be94d5
Adjust meshbuilder to vkdoom changes and make sure the drawinfo functions always allocate vertices from the output renderstate object
2023-04-26 04:22:07 +02:00
Magnus Norddahl
71a78f2baf
Merge all sectors into one mesh
2023-04-26 01:09:06 +02:00
Magnus Norddahl
2d335d0f97
Add gl_meshcache cvar for toggling it on and off
2023-04-26 01:09:06 +02:00
Magnus Norddahl
b189a63e6b
Test drawing all cached sectors every frame
2023-04-26 01:09:05 +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
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
eac73d9eba
Re-enable corona support
2023-03-16 23:49:33 +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
Ricardo Luís Vaz Silva
8e7897233e
Add Alternate Light Blending Options
2023-01-14 11:29:12 -05:00
Christoph Oelckers
457b9b71d9
- disable the native part of coronas as well.
2022-10-20 07:50:53 +02:00
nashmuhandes
80a31b074d
Disable coronas for now
2022-10-19 22:52:27 +02:00
Shiny Metagross
08f520f1c6
IQM Support Implemented
...
More info to come
2022-10-19 22:48:57 +02:00
Christoph Oelckers
4032576519
- blocked off direct access to TAngle’s internal storage.
2022-08-26 18:09:29 +02:00