Commit graph

181 commits

Author SHA1 Message Date
Robert Beckebans
33b54481d1 Little cleanup 2023-03-30 22:58:59 +02:00
Robert Beckebans
fd86362724 Show shadow atlas stats with com_showFPS 3 2023-03-18 14:44:59 +01:00
Robert Beckebans
9f305c2399 Removed stencil shadow volumes with additional fixes by icecoldduke 2023-03-16 20:49:30 +01:00
Robert Beckebans
a6d76a7104 Stencil shadows work but some flicker as bad as in RBDOOM 1.4.0 2023-03-15 12:36:43 +01:00
Robert Beckebans
1e29c5e15d Fixed r_useShadowAtlas 0 2023-03-14 23:55:37 +01:00
Robert Beckebans
d846b54e72 Fixed most stencil shadows related bugs. Still not working 2023-03-14 22:06:19 +01:00
Robert Beckebans
e5519c5fc4 Removed many obsolete #if defined( USE_NVRHI ) 2023-03-10 19:25:56 +01:00
Robert Beckebans
8975f59f62 Removed more obsolete Vulkan & OpenGL code 2023-03-10 18:03:20 +01:00
Robert Beckebans
9121f84559 Started to clean up the renderer removing obsolete Vulkan bits 2023-03-10 17:10:25 +01:00
Robert Beckebans
d17a537d3b Moved OPTICK_GPU_CONTEXT into #if USE_OPTICK_GPU firewall 2023-03-07 20:25:12 +01:00
Robert Beckebans
12789bd95e Added basic support for Optick and D3D12 2023-03-07 11:22:46 +01:00
Robert Beckebans
d765afa278 Added more profiling events in the render backend 2023-03-06 16:32:20 +01:00
Robert Beckebans
d878f99e5c Added more profiling events 2023-03-06 14:59:04 +01:00
Robert Beckebans
0ac23b5f94 Removed obsolete cvar r_useHDR 2023-03-03 20:48:53 +01:00
Robert Beckebans
c95419e1d9 Small performance fix 2023-02-27 15:57:00 +01:00
Robert Beckebans
99d7338d12 Blend shadowmaps smoothly in for small distant lights #746 2023-02-24 15:21:19 +01:00
Robert Beckebans
ee3fbb46f0 Skip shadowmaps for small distant lights #746 2023-02-24 13:55:29 +01:00
Robert Beckebans
302eb3fa85 Don't allocate non shadow casting lights into the shadow atlasgit difftool #746 2023-02-24 13:05:38 +01:00
Robert Beckebans
c1fdd0cffb Fixed SSAO flickering when TAA is off #744 2023-02-22 09:48:00 +01:00
Robert Beckebans
5de9dd9b68 Donut SSAO is kind of working 2023-02-11 14:24:59 +01:00
Robert Beckebans
9d45866a1a Simplified old SSAO backend code 2023-02-08 09:24:23 +01:00
Robert Beckebans
846cf265fb Added code for debugging Donut's SSAO pass 2023-02-07 15:06:40 +01:00
Stephen Saunders
0f869604c9 Run new ssao pass on 3d + 2d overlay views to avoid flickering, skip for 2d-only views 2023-02-03 17:20:25 -05:00
Stephen Saunders
c7ad3f2801 Add required render matrices to SsaoConstants and init them for render pass 2023-01-30 16:00:51 -05:00
Stephen Saunders
8fe25bf987 Fix legacy SSAO for NVRHI Vulkan and enable SSAO compute shader alternative 2023-01-25 14:23:14 -05:00
Robert Beckebans
3a3af32ddb Replaced std::min/max with Min/Max 2022-11-19 16:46:21 +01:00
Stephen Saunders
afacd8014c Improve timer stats, get / set displayFrequency, implement Vulkan vsync mode 1, fix DX12 vsync mode 0 for fullscreen 2022-11-17 23:42:06 -05:00
Stephen Saunders
86bcffdd00 Build / Source changes for NVRHI on SDL, source cleanup for clang C++17 std, initial macOS NVRHI implementation 2022-10-21 23:46:42 -04:00
Robert Beckebans
1d456a9026 Probably fixed Vulkan swapchain problem 2022-09-22 18:34:07 +02:00
Robert Beckebans
9307983475 Some code to debug the NVRHI swapchain problem 2022-09-17 20:01:06 +02:00
Robert Beckebans
1e30b08363 SP: Fix null indexbuffer issue when the validation layers are enabled 2022-08-15 14:20:19 +02:00
Robert Beckebans
60330e2d8d Always clear the envprobe FBO for lightgrid capturing 2022-07-03 14:16:04 +02:00
Robert Beckebans
e1bbf4bf28 Fixed chromatic aberration on right/bottom screen corners 2022-06-05 12:03:56 +02:00
Robert Beckebans
c0dd85bb80 Fixed rendering of FFmpeg, Binkdec videos and Doomclassic modes #648 677 2022-06-04 13:37:00 +02:00
Robert Beckebans
461001d5c0 Fixed filmic post processing #661 2022-05-29 15:11:12 +02:00
Robert Beckebans
ea296d884d Don't call ResizeFramebuffers() during bake commands! 2022-04-23 18:48:55 +02:00
Robert Beckebans
43b3375da7 bakeEnv* and bakeLightGrids partially work 2022-04-23 16:34:22 +02:00
Robert Beckebans
0c866655f8 Don't render motion vectors if standing still 2022-04-20 12:05:47 +02:00
Robert Beckebans
39227f1559 Improved TAA jittering 2022-04-20 10:54:25 +02:00
Robert Beckebans
a7623165b5 Fixed TAA jittering bug 2022-04-19 21:56:30 +02:00
Robert Beckebans
51405a3e8f Simplified screenshot garbage. Closes #652 2022-04-16 16:29:17 +02:00
Robert Beckebans
54d30bbd05 Skip hands + view weapons for motion vectors 2022-04-14 14:43:14 +02:00
Robert Beckebans
6cd2b98491 TAA is working. Fixed wrong output resolution 2022-04-13 22:05:05 +02:00
Robert Beckebans
d078ada2d8 Changed the motionBlur shader to draw motion vectors 2022-04-13 12:35:00 +02:00
Robert Beckebans
2e363d6f99 Exposed TAA parameters to cvars 2022-04-12 19:24:53 +02:00
Robert Beckebans
1279a27a43 Copied TAA from Donut framework 2022-04-12 18:15:48 +02:00
Robert Beckebans
024ad532e2 Make shadow atlas optional for perf comparison 2022-04-09 14:58:31 +02:00
Robert Beckebans
ca6b434a63 Fixed r_skipShadows and removed r_logFile 2022-04-02 12:33:58 +02:00
Robert Beckebans
0d9d13d6f0 Fixed shadow plopping effects and reeanbled vogel disk sampling 2022-04-02 11:57:33 +02:00
Robert Beckebans
51db69a19f Use slower but more stable bin 2d packing for now 2022-04-01 19:54:09 +02:00