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
|
1b6f98e673
|
Fix gl_ssao_debug 4 rendering glitch when multisample is active
|
2024-03-18 03:19:51 +01:00 |
|
Magnus Norddahl
|
ab537a4879
|
Hook up SourceRadius
|
2024-03-05 16:37:59 +01:00 |
|
Magnus Norddahl
|
958251bfd4
|
Change the math for two-sided surfaces
|
2024-03-04 23:39:35 +01:00 |
|
Magnus Norddahl
|
b99cf589e7
|
Fix midtextures being opaque
|
2024-03-04 21:40:11 +01:00 |
|
Magnus Norddahl
|
c98930a88c
|
Atlas tile adjustments
|
2024-02-28 00:59:41 +01:00 |
|
Magnus Norddahl
|
60cdb871d2
|
Add light bounce
|
2024-02-26 17:00:28 +01:00 |
|
Magnus Norddahl
|
a831fdb027
|
Move monte carlo math functions to its own file
|
2024-02-26 16:21:04 +01:00 |
|
Magnus Norddahl
|
ccc5c259ad
|
Grab the light list from the surfaces in the shader
|
2024-02-26 16:15:14 +01:00 |
|
Magnus Norddahl
|
68f9fee55b
|
Make the light list part of the level mesh
|
2024-02-26 15:57:32 +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
|
1a7407944e
|
Always use indirect draw
|
2024-02-11 02:12:18 +01:00 |
|
Magnus Norddahl
|
4fbb58d836
|
Switch to using bindless textures for the entire hwrenderer
|
2024-02-10 01:36:27 +01:00 |
|
Magnus Norddahl
|
94eb96a235
|
Fix trace bug for when rayquery is not available
|
2024-02-10 00:55:29 +01:00 |
|
Magnus Norddahl
|
2bfa8b0ee5
|
Fix AO not appearing and some other tracing adjustments
|
2024-02-10 00:13:51 +01:00 |
|
Magnus Norddahl
|
c1d0963da4
|
Rewrite the GLSL ray trace code so it does not use global variables!!
Fix portals not working
|
2024-02-09 12:08:16 +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 |
|
RaveYard
|
9534e7b76e
|
Increase and unify max distance for sunlight rays
|
2024-01-01 14:36:08 +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
|
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
|
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
|
abf024a157
|
Fix the sunlight tracing bug
|
2023-10-04 03:31:29 +02:00 |
|
Magnus Norddahl
|
f2cfcc4635
|
Fix tile clipping
|
2023-10-04 01:24:20 +02:00 |
|
Magnus Norddahl
|
bbf73c2766
|
Apply surface angle to sun light
|
2023-10-04 00:46:29 +02:00 |
|
Magnus Norddahl
|
4f86a0ba81
|
Control ambient occlusion, sunlight and softshadows via cvars
|
2023-10-04 00:24:32 +02:00 |
|
Magnus Norddahl
|
be81f74954
|
Turn on backface culling
|
2023-10-01 13:08:57 +02:00 |
|