Magnus Norddahl
|
9dd485be76
|
Changes needed by rebase
|
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
|
75e33c4923
|
Move portal creation out of the submesh
|
2023-12-26 04:30:58 +01:00 |
|
Magnus Norddahl
|
bdda16a4f0
|
Fixes that got lost in the rebase
|
2023-12-26 04:30:58 +01:00 |
|
Magnus Norddahl
|
486a08e882
|
Create VkLevelMeshUploader
|
2023-12-26 04:30:58 +01:00 |
|
Magnus Norddahl
|
ed7da1ae25
|
Moving files
|
2023-12-26 04:30:58 +01:00 |
|
Magnus Norddahl
|
26b9c52427
|
Move halffloat to utility
|
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
|
6a77924207
|
Group mesh buffers
|
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
|
69b48f8123
|
Fix black flats
|
2023-12-26 04:30:57 +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
|
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 |
|
dpjudas
|
2cda07245c
|
Remove old wall surface creation code
|
2023-12-26 04:30:56 +01:00 |
|
dpjudas
|
9ca058ccc9
|
Create wall surfaces directly from the HWWall output
|
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
|
5f50160108
|
Prepare surface creation code to use HWWall
|
2023-12-26 04:30:56 +01:00 |
|
Magnus Norddahl
|
9f963e2c06
|
Rename lightmap fields to surface as it is being used for more than lightmaps now
|
2023-12-26 04:30:56 +01:00 |
|
Magnus Norddahl
|
4f4d859fd9
|
Move some code
|
2023-12-26 04:30:56 +01:00 |
|
dpjudas
|
f83ae7487f
|
Split into more files
|
2023-12-26 04:30:56 +01:00 |
|
Magnus Norddahl
|
6a971dbaf4
|
Remove the memory barrier again as such a guarantee is provided by vkSubmitQueue
|
2023-12-26 04:30:55 +01:00 |
|
Magnus Norddahl
|
418a76ecec
|
Add pipeline barrier for draw indirect calls
|
2023-12-26 04:30:55 +01:00 |
|
Magnus Norddahl
|
5d107ecc49
|
Apply lightmap
|
2023-12-26 04:30:55 +01:00 |
|
Magnus Norddahl
|
f1b15c5000
|
Fix the second vertex buffer binding bug
|
2023-12-26 04:30:55 +01:00 |
|
Magnus Norddahl
|
d3da7a8443
|
Fix UV order
|
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
|
d06a9e1305
|
Hook up surface index buffer
|
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
|
ba7dfb8a8f
|
Add uniforms to level mesh and upload them to the GPU
|
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 |
|
Magnus Norddahl
|
e9620e64a4
|
Enable include directive and use the latest version of glsl, if available
|
2023-12-14 12:39:24 +01:00 |
|
Magnus Norddahl
|
dfae2a25b0
|
Add support for using #include in postprocess shaders
|
2023-12-14 12:28:11 +01:00 |
|
Magnus Norddahl
|
8c56963fdd
|
Fix fogball bindings after rebase
|
2023-12-11 11:41:12 +01:00 |
|
nashmuhandes
|
72e3c01449
|
Revert Fogball to a scripted class
|
2023-12-11 11:38:18 +01:00 |
|
nashmuhandes
|
237899b17d
|
Fogball actor alpha should influence the density, rather than the color
|
2023-12-11 11:37:24 +01:00 |
|
nashmuhandes
|
17aac06007
|
- Use the Fogball's 4th arg for the radius
- Add Fogball DoomEdNum
|
2023-12-11 11:37:24 +01:00 |
|
Magnus Norddahl
|
a76dfafbaa
|
Fix misc bugs in the fogball implementation - it works now
|
2023-12-11 11:37:24 +01:00 |
|
nashmuhandes
|
909309f1e8
|
Use the actor fields intended for fogball customization
|
2023-12-11 11:36:43 +01:00 |
|
dpjudas
|
c8f6182f36
|
Some minor adjustments
|
2023-12-11 11:36:42 +01:00 |
|
dpjudas
|
81cdc402c9
|
Add code collecting fogballs from the visible scene
|
2023-12-11 11:34:14 +01:00 |
|
Magnus Norddahl
|
a4161eaefa
|
Forgot to add the shader
|
2023-12-11 11:28:55 +01:00 |
|
Magnus Norddahl
|
1d0fed0326
|
Add the shader math needed to draw fogballs
|
2023-12-11 11:28:55 +01:00 |
|