Commit graph

635 commits

Author SHA1 Message Date
nashmuhandes
58fecd4b92 Move depth fade definition to GLDEFS 2024-09-09 18:57:07 +08:00
nashmuhandes
27058efe85 Rename "depth fade falloff" to "depth fade threshold" as it makes more sense 2024-09-09 17:06:04 +08:00
Magnus Norddahl
f41e7f044a Fix SceneLinearDepth texture using wrong size 2024-09-08 23:15:48 +02:00
Magnus Norddahl
f8f4ef5cbb And the AMD image transition fun (Thanks AMD!) 2024-09-08 22:29:41 +02:00
Magnus Norddahl
b2040a0892 Add support for the poor souls on a 386 that can't afford to use full screen 2024-09-08 22:25:24 +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
c62bb7a0f0 Add RenderState.SetDepthFadeFalloff 2024-09-08 20:32:30 +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
d2958d8366 Change how visible surfaces for a tile are collected by the light mapper 2024-09-07 03:11:36 +02:00
Magnus Norddahl
5a1c8131c5 Move inlined functions out of the class definition for better readability 2024-09-07 00:42:49 +02:00
dpjudas
6b3803cb3b Fix descriptor pool size 2024-09-05 10:14:23 +02:00
Magnus Norddahl
4655b02f06 Fix using wrong surface for the extra BLAS structures for trace hits
Add gl_raytrace for ray tracing the level mesh
2024-09-05 00:15:59 +02:00
Magnus Norddahl
db5f47d14f Fix SSAO not working in gl_levelmesh 2024-09-04 02:27:10 +02:00
Magnus Norddahl
4b0d4a210a Remove unused class 2024-09-01 23:47:16 +02:00
Magnus Norddahl
4ba0b47665 Dont draw sectorstack atm 2024-09-01 23:01:39 +02:00
dpjudas
4666fa6241 Split masked from opaque in the level mesh draw lists 2024-09-01 22:44:25 +02:00
dpjudas
66288b539c Fix crash on GPUs that doesn't support ray query 2024-08-31 03:42:03 +02:00
Magnus Norddahl
3cb2b31d95 Create up to 32 bottom level acceleration structures to avoid rebuilding the entire map on geometry changes 2024-08-30 03:12:24 +02:00
Magnus Norddahl
d12cd4d74d Sort initial draw lists by pipeline
Fix applying pipeline state too often for scattered draw ranges
Delay updating sides and sectors until frame start to allow the playsim to mark surfaces dirty multiple times
2024-08-28 19:53:12 +02:00
dpjudas
ddc3b530c7 Fix compile error due to missing include statement 2024-08-26 12:51:16 +02:00
Magnus Norddahl
61375fae12 Fix uniforms upload bug 2024-08-25 14:19:11 +02:00
Magnus Norddahl
18db0b49a7 Update level mesh on sector changes 2024-08-25 01:06:44 +02:00
Magnus Norddahl
d28a3571b5 More level mesh buffer fun 2024-08-23 00:01:08 +02:00
Magnus Norddahl
356ad2fe9f Split doom specific surface data from common/gpu surface data 2024-08-20 02:06:05 +02:00
Magnus Norddahl
e9946bead2 Fix not lights in the internal lightmapper 2024-08-13 23:35:32 +02:00
dpjudas
b6cbaaedbc Update the bottom level accel structure if vertices or indexes change 2024-08-11 23:03:32 +02:00
Magnus Norddahl
766b558119 Ranges in buffers are so fun! 2024-08-11 20:39:45 +02:00
Magnus Norddahl
e0cba77646 Move levelmeshhelper completely out of the Common folder
Connect the level updates to the level mesh
2024-08-11 18:34:03 +02:00
Magnus Norddahl
e80615e167 Move the level mesh dirty ranges to levelmesh so that it can be updated 2024-08-11 17:51:45 +02:00
Ricardo Luís Vaz Silva
8f79753dc0 make sure all texZ functions update the levelmesh 2024-08-11 17:50:36 +02:00
Ricardo Luís Vaz Silva
7456c7685b make hooks more specific 2024-08-11 17:50:36 +02:00
Ricardo Luís Vaz Silva
467cf2800b Fix compilation 2024-08-11 17:50:36 +02:00
Dileep V. Reddy
8a5e7449c1 Consolidated isometric mode commits. 2024-08-11 15:55:21 +02:00
Magnus Norddahl
f1b9e68305 Add more dynamic update code to level mesh 2024-08-11 01:15:44 +02:00
dpjudas
7f2c928d14 Prepare wall/flat surface create functions to be able to insert in any location in the mesh buffers 2024-07-05 06:50:00 +02:00
Rachael Alexanderson
188ae392e7 - enable mipmapping in 2D 2024-07-04 20:55:15 +02:00
Magnus Norddahl
2eab98b4fb Fix level mesh upload crash if too large textures gets uploaded 2024-06-24 16:57:10 +02:00
nashmuhandes
1a89307ee7 Rename SourceRadius to SoftShadowRadius 2024-06-15 18:08:37 +08:00
Magnus Norddahl
53990c867f Fix anisotropy calculations for override samplers 2024-04-11 18:33:52 +02:00
Magnus Norddahl
cb8de2414d More Intel GPU fun 2024-04-11 18:26:06 +02:00
Magnus Norddahl
ae21662465 Driver version check was inverse than what it should have been 2024-04-11 12:06:50 +02:00
Magnus Norddahl
c4841cce70 Further refine Intel anisotropic filtering 2024-04-11 12:01:45 +02:00
Magnus Norddahl
790c009af7 The PCI vendor ID should be in hex 2024-04-10 17:47:51 +02:00
Magnus Norddahl
250fe865c7 Disable anisotropic filtering for Intel hardware when not using linear min/mag filter since its broken
Change gl_texture_filter_anisotropic to use a default value that depends on whether the GPU is integrated or not
2024-04-10 17:38:41 +02:00
Magnus Norddahl
0b9c8efa58 Ignore vid_maxfps when vsync is enabled.
Increase vid_maxfps to 500 as modern computers have monitors in the 240-500 hz range now.
2024-03-28 07:30:09 +01:00
Magnus Norddahl
7e2d1da4a6 Add gl_shownormals cvar as enabling ssao and setting a specific debug level was a bit too obscure for this feature 2024-03-18 03:26:29 +01: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
ba423c3b6e Fix vulkan validation error 2024-03-18 02:49:02 +01:00
nashmuhandes
74a27be3fd Merge branch 'master' of https://github.com/ZDoom/gzdoom 2024-03-10 03:34:37 +08:00
Magnus Norddahl
ab537a4879 Hook up SourceRadius 2024-03-05 16:37:59 +01:00