Magnus Norddahl
990ce7c6c9
Render scene with indexed textures for vid_rendermode 2
2025-05-19 05:55:03 +02:00
Magnus Norddahl
2c069349a3
Portal and high update count fixes
2025-05-12 00:39:41 +02:00
Magnus Norddahl
98ff358a3a
Workaround AMD driver crash by disabling rayquery for all AMD cards
2025-04-21 18:49:22 +02:00
Magnus Norddahl
26b10dbdda
Validation layer wants layout specified during linking (is it right? nobody knows! the vulkan spec is unreadable in this part, thanks khronos!)
...
Fix light probe pass using depth stencil format selection before it was set
2025-04-20 18:15:38 +02:00
Magnus Norddahl
dd782038e4
Add async texture loading
2025-04-12 01:52:17 +02:00
dpjudas
202d99bf9e
Add worker thread for creating pipelines
2025-04-10 08:17:45 +02:00
Magnus Norddahl
bb4d4f1bc0
Add generalized shader code
2025-04-03 01:23:06 +02:00
Magnus Norddahl
3aaf2cc639
Add SPIRV cache to VkShaderCache
2025-02-25 02:15:15 +01:00
RaveYard
7dc050edb0
Refactor to reduce reallocations and copying
2025-02-22 10:15:15 +01:00
RaveYard
2dd7ad8eb2
WIP multiple probes support
2025-02-22 10:15:15 +01:00
Magnus Norddahl
3f01630b8a
Render environment probe at player position
2025-02-16 19:03:45 +01:00
Magnus Norddahl
513f90db3e
Add VkLightprober to VulkanRenderDevice and fix the glsl compile errors
2025-02-16 13:37:40 +01:00
Magnus Norddahl
0d976d35c5
Fix crash when building the accel struct for scenes with no level mesh
2025-01-27 21:21:14 +01:00
Magnus Norddahl
68489d6bf0
Fix the vertex attribute bindings
2025-01-23 14:52:25 +01:00
Magnus Norddahl
d435c9c144
Fix crash when switching from a level with lightmaps to one without
2025-01-19 12:36:40 +01:00
Ricardo Luís Vaz Silva
e246639085
implement per-map shaders
...
per-class shaders TODO
2025-01-11 11:23:42 +01:00
Ricardo Luís Vaz Silva
c72bad053f
add gl_wireframe and gl_wireframecolor
2025-01-09 21:53:28 +01:00
Magnus Norddahl
794cfd78c8
Process commandlets without always initializing the entire engine
2025-01-08 23:29:01 +01:00
Magnus Norddahl
77b23a58f0
Boot vulkan without a surface
2025-01-08 23:29:00 +01:00
dpjudas
dfbef085e6
Group lightmap variables and put polyobj walls in a dynamic lightmap atlas
2024-10-22 02:29:12 +02:00
Magnus Norddahl
d69d190dc3
Add savelightmap and deletelightmap ccmds
2024-09-30 18:48:48 +02:00
Magnus Norddahl
521e2ed39c
Run the light tiles compute shader
2024-09-14 04:59:39 +02:00
Magnus Norddahl
cc06294932
Remove linear depth from texture manager again (this wasn't a good idea)
...
Add linear depth texture to the fixed descriptor set
2024-09-08 21:18:22 +02:00
Magnus Norddahl
1b8effe1ea
Make linearized depth data available to translucent material shaders via the texture name SceneLinearDepth. Does it work? Who knows!
2024-09-08 02:32:01 +02:00
Magnus Norddahl
db5f47d14f
Fix SSAO not working in gl_levelmesh
2024-09-04 02:27:10 +02:00
Magnus Norddahl
08d376d3f4
Add hwtexture count to vk_mem_budget
2024-02-19 10:00:46 +01:00
dpjudas
a9a5ee8a96
Enable more extensions desired by vk_mem_alloc and add vk_membudget cvar
2024-02-19 09:27:51 +01:00
dpjudas
30cc548d92
Limit the uniform buffer block size to 1 MB for drivers that report gigabytes
2024-02-14 05:50:28 +01:00
Magnus Norddahl
73ee25ad39
Remove the need for pipelines for each material layer count
2024-02-10 01:42:28 +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
e7e89fce09
Make the vk_rayquery cvar a bit more robust
2024-01-21 14:25:08 +01:00
Magnus Norddahl
c1f38b18c4
Put all the pipeline barriers in the same function and use a new instance buffer each time the TLAS is updated
2023-12-26 04:31:02 +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
ed7da1ae25
Moving files
2023-12-26 04:30:58 +01:00
Magnus Norddahl
98c209edbd
Rename VkLightmap and VkRaytrace
2023-12-26 04:30:58 +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
6b0e4345a2
Enable face culling
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
4092e7f4e0
Some testing
2023-12-26 04:30:57 +01:00
dpjudas
57fe68c8a1
Draw depth pass and portal occlusion test
2023-12-26 04:30:57 +01:00
Magnus Norddahl
04493ade52
Add support for using the correct pipeline for each surface
2023-12-26 04:30:56 +01:00
Magnus Norddahl
d0d964ae42
Hook up HWWall and use the real main.fp shader for the level mesh
2023-12-26 04:30:56 +01:00
Magnus Norddahl
f1b15c5000
Fix the second vertex buffer binding bug
2023-12-26 04:30:55 +01:00
Magnus Norddahl
f550f5b05a
Hook up bindless textures for gl_levelmesh
2023-12-26 04:30:55 +01:00
Magnus Norddahl
9edfbcd10e
Create different buffer for uniform indexes that works for the vertex shader
2023-12-26 04:30:55 +01:00
Magnus Norddahl
f8fd08a623
Clean up VkDescriptorSetManager a bit and bind the surface uniforms when drawing with gl_levelmesh
2023-12-26 04:30:54 +01:00
Magnus Norddahl
e713299410
Rename StreamData to SurfaceUniforms
2023-12-26 04:30:54 +01:00
Magnus Norddahl
240d68d7ae
Merge SurfaceVertex with FFlatVertex and draw the lightmaps
2023-12-26 04:30:54 +01: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
dec03cb265
Fix compile errors after rebase
2023-10-19 22:16:11 +02:00