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
Magnus Norddahl
05e46e0cb4
Fix DrawLevelMesh bugs
2023-10-19 22:10:26 +02:00
Magnus Norddahl
fc65d43ae8
Add code that should draw the mesh
2023-10-19 22:09:26 +02:00
Magnus Norddahl
6dd72e5439
Begin code for drawing the level mesh
2023-10-19 22:09:26 +02:00
Magnus Norddahl
52ec71b05b
Remove allowSSBO, useSSBO, glslversion, hwcaps and BuffersArePersistent as none of them apply to Vulkan
2023-10-19 21:31:12 +02:00
Magnus Norddahl
9bcef148bf
Minor menu tweaks and display the vulkan device name in the menus
2023-10-15 15:23:23 +02:00
Magnus Norddahl
f532975754
Fix crash on maps with polyobjs
2023-10-09 23:32:48 +02:00
dpjudas
411b281e7c
Remove multithreading RenderState as that seemed to be a poor approach
2023-10-09 03:20:19 +02:00
Magnus Norddahl
9799bd70d1
Add vk_rayquery CVAR and prevent the shader from looping until the OS kills the entire process!
2023-10-04 20:11:09 +02:00
Magnus Norddahl
bfdca1a069
Implement dynamic update of the acceleration structure
2023-09-26 18:10:45 +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
bb7a33d7b1
Add bindless texture support
2023-09-19 23:58:17 +02:00
Rachael Alexanderson
861450ee3f
- compile fixes for mac os
2023-09-16 23:38:36 +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
651b2ef9e3
Change lightmapper to only use one image
2023-09-15 18:07:37 +02:00
RaveYard
c6b92e1c1b
Initial implementation for lightmap lump loading
2023-09-13 21:58:11 +02:00
RaveYard
a340b69c79
Fix lightmapper still using hacks to detect levelmesh changes
2023-09-11 19:51:23 +02:00
Magnus Norddahl
542dfd3666
Delay creating the accel struct until frame start
2023-09-11 14:55:31 +02:00
RaveYard
adfc7082f5
Remove hacks associated with SetLevelMesh
2023-09-11 14:44:17 +02:00
RaveYard
6f44e2b5d4
Change surfaceIndices to surfaces
2023-09-10 23:42:00 +02:00
RaveYard
6ccb92ef60
Fix surface index passed to glsl
2023-09-10 23:42:00 +02:00
RaveYard
b163901862
WIP partial lightmapping
2023-09-10 23:42:00 +02:00
RaveYard
f95ffbe299
WIP surface list for raytracing
2023-09-10 23:42:00 +02:00
Magnus Norddahl
ea02067b0a
Delay finding the light lists until after map has loaded
2023-09-03 06:28:41 +02:00
Magnus Norddahl
c0c0271c7b
Perform the copy from the atlas resolve image to the lightmap texture on the GPU
2023-09-03 05:03:57 +02:00
Magnus Norddahl
0835ae415b
Use the command buffers from VkCommandBufferManager
2023-09-02 15:14:01 +02:00
Magnus Norddahl
7c862dd861
Finish upload before using buffers
2023-09-02 14:50:57 +02:00
Magnus Norddahl
e297b78a25
Create DoomLevelMeshSurface
2023-09-02 13:24:04 +02:00
Magnus Norddahl
375e71dc0d
Namespace fixes
2023-09-02 13:09:57 +02:00
Magnus Norddahl
706256b969
Fix misc typos
2023-09-02 12:03:32 +02:00
RaveYard
689e764830
Fix copying of pixels from surface.texPixels to LMTextureData
2023-09-02 11:07:14 +02:00
RaveYard
6f00cacdcc
WIP Attempt to fix the temporary ZDRay tracecoder lightmap write
2023-09-02 11:07:14 +02:00
Magnus Norddahl
cff50b8087
Initialize lightmap texture in SetLevelMesh
...
Create VkLightmap class on VulkanRenderDevice
2023-09-01 00:03:18 +02:00
RaveYard
18842eb30c
GenerateLightmap in DFrameBuffer
2023-08-31 22:57:57 +02:00
RaveYard
6fc7eaf2fa
First step towards refactoring
2023-08-31 22:57:57 +02:00
RaveYard
ef031c2073
WIP fake raytracer output
2023-08-31 22:57:57 +02:00