Commit graph

44 commits

Author SHA1 Message Date
Magnus Norddahl
59205533b2 Bias the trace end point to reduce shadow acne 2024-08-26 02:59:03 +02:00
Dileep V. Reddy
8a5e7449c1 Consolidated isometric mode commits. 2024-08-11 15:55:21 +02:00
Ashley Miller-Jelfs
7930ee807d Fix Specular not using Material definition for Glossiness and Level 2024-08-08 08:51:10 +02:00
nashmuhandes
1a89307ee7 Rename SourceRadius to SoftShadowRadius 2024-06-15 18:08:37 +08:00
Magnus Norddahl
8d320ec31c Add textureGrad compatibility 2024-06-13 12:50:43 +02:00
Magnus Norddahl
ab537a4879 Hook up SourceRadius 2024-03-05 16:37:59 +01:00
Magnus Norddahl
b436903a28 Use constants as bad boys and girls seem to be shadowing the global variables :p 2024-02-19 13:14:53 +01:00
Magnus Norddahl
dea8a7888a Also support texel fetch 2024-02-19 13:07:55 +01:00
Magnus Norddahl
9bf1668195 Improve compatibility with old shaders 2024-02-19 09:46:12 +01:00
Magnus Norddahl
4fbb58d836 Switch to using bindless textures for the entire hwrenderer 2024-02-10 01:36:27 +01:00
Magnus Norddahl
d181774e02 Fix shadows not working for non-rt render path 2024-01-17 13:27:30 +01:00
RaveYard
7f7363e30b Convert fogball calculations from sRGB to linear 2024-01-11 01:33:36 +08:00
Magnus Norddahl
4ca2ffd58e Implement line portals and improve sky handling 2023-12-26 04:31:00 +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
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
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
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
8c56963fdd Fix fogball bindings after rebase 2023-12-11 11:41:12 +01:00
nashmuhandes
237899b17d Fogball actor alpha should influence the density, rather than the color 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
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
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
4dbe9bacc0 Make shadows slightly softer and fix sampling one time too many 2023-09-27 01:42:20 +02:00
Magnus Norddahl
d132a6842f Use vogel disk sampling for the raytraced soft shadows and reduce the number of samples used for each quality mode 2023-09-27 01:03:05 +02:00
Magnus Norddahl
9203784ee0 Use a uniform buffer for the light list 2023-05-06 02:45:17 +02:00
Magnus Norddahl
b7236f3031 Remove unused uniforms and restrict push constants to only control offsets into buffers 2023-04-24 22:10:17 +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
1f5b7a0256 Add support for gl_light_raytrace for cards that do not support rayquery 2023-04-12 02:09:28 +02:00
Magnus Norddahl
ba0243e378 Fix sunlight not working on models 2023-04-07 18:00:48 +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
3b2507d072 Fix the clear screen shader bug
Fix texture set layout not matching the c++ code's version (vulkan validation error)
2023-04-06 21:03:05 +02:00
Magnus Norddahl
d5d6c07f53 Fix misc shader related issues 2023-04-06 19:36:58 +02:00
Magnus Norddahl
44fed1451d Fix shader build errors and remove support for old deprecated shader types 2023-03-24 03:34:24 +01:00
Magnus Norddahl
c495c8c094 Add support for using #include in glsl files and improve glsl compile errors 2023-03-22 00:06:13 +01:00
Magnus Norddahl
6878dc5580 Move static layout code back to wadsrc 2023-03-21 20:24:08 +01:00
dpjudas
7816d33325 Begin refactor the shaders 2023-03-19 07:18:12 +01:00