Wojtek Figat
fe33f09f1d
Update shader
2024-07-19 00:32:14 +02:00
Wojtek Figat
3aa8e67551
Add option for smooth DDGI cascades blending
2024-07-18 23:51:03 +02:00
Wojtek Figat
03898a064a
Optimize DDGI probes border pixels to be copied within probe update, rather than via separate dispatch
2024-07-18 19:51:01 +02:00
Wojtek Figat
aeff147b6d
Optimize and refactor DDGI to use linear attention per-probe to dynamically control ray count and blend speed
...
Probes will use lower ray count when behind the camera or not correlated with the view direction or far from geometry.
Probes nearby camera or with high instability in irradiance will maintain higher ray count.
Probes that use less rays will have slower blending to reduce artifacts.
Added probe instability, attention and stats debugging for devs.
2024-07-18 08:38:23 +02:00
Wojtek Figat
ee02aa394a
Fix potential error in new shadows atlas rendering
2024-07-18 00:17:33 +02:00
Wojtek Figat
352913ba14
Add random per-probe rotation for rays tracing in DDGI
2024-07-11 14:48:24 +02:00
Wojtek Figat
6b06f1dbcf
Optimize Global SDF to use 8-bit storage (50% less memory usage)
2024-07-10 13:22:25 +02:00
Wojtek Figat
d5dd8e7ecf
Optimize GlobalSurfaceAtlasPass tiles by sorting by size before inserting them into atlas
2024-07-08 16:43:26 +02:00
Wojtek Figat
082a5819cd
Optimize GlobalSurfaceAtlasPass by ignoring GBuffer2 properties (diffuse-only surfaces)
2024-07-08 16:40:59 +02:00
Wojtek Figat
00a9c48fec
Optimize probes count multiplication in DDGI shader
2024-07-03 08:51:58 +02:00
Wojtek Figat
6fbf4a6aac
Optimize draw calls sorting and objects buffer building to be async
2024-07-02 16:07:09 +02:00
Wojtek Figat
567d5f70ab
Merge remote-tracking branch 'origin/1.9' into 1.9
2024-07-02 00:58:25 +02:00
Wojtek Figat
08ef7c93ea
Refactor draw calls drawing to use single objects buffer and better materials batching
2024-07-02 00:52:22 +02:00
Wojtek Figat
78f3248ac9
Refactor SortOrder to use int8 instead of int16 due to performance reasons (more efficent sort keys packing in rendering)
2024-06-29 13:54:02 +02:00
Wojtek Figat
516ed3e9a0
Cleanup some rendering code
2024-06-28 21:21:17 +02:00
Wojtek Figat
f4d4969650
Merge branch '1.9' of https://gitlab.flaxengine.com/flax/flaxengine into 1.9
2024-06-28 09:52:06 +02:00
Wojtek Figat
dbbc2b70bf
Disable GlobalSurfaceAtlas on Mac due to GPU crashes in larges scenes
2024-06-28 09:43:18 +02:00
Wojtek Figat
138e17508b
Add profile event to hardware instancing building and insert draw count into profiler zone data
2024-06-27 21:03:52 +02:00
Wojtek Figat
7b5edc363a
Fix GLobalSDF update when not using workload spread and add dispatches count to profiler zone data
2024-06-27 09:29:09 +02:00
Wojtek Figat
8eaa635385
Minor tweaks to GlobalSA
2024-06-26 18:19:48 +02:00
Wojtek Figat
18c3f274f8
Optimize Global SDF drawing with async job system
2024-06-26 18:16:58 +02:00
Wojtek Figat
b545d8800c
Optimize job system memory allocations
2024-06-24 23:19:01 +02:00
Wojtek Figat
a1c251c3b7
Add various optimizations to Global Surface Atlas
2024-06-24 19:01:35 +02:00
Wojtek Figat
8190d7f171
Optimize Global Surface Atlas setup and objects buffer writing to be async
2024-06-24 13:15:45 +02:00
Wojtek Figat
3b3cd5ade4
Optimize Global Surface Atlas defragmenting to just reset tiles, not whole objects list
2024-06-21 23:01:32 +02:00
Wojtek Figat
4d0d08f245
Optimize Global Surface Atlas drawing with async job system
2024-06-21 17:55:02 +02:00
Wojtek Figat
c119750896
Fix RectAtlas regression
2024-06-21 16:24:47 +02:00
Wojtek Figat
8e49a35e0e
Refactor RectPack into new RectPackNode and RectPackAtlas that uses more optimized memory allocations
2024-06-20 15:26:58 +02:00
Wojtek Figat
a6324c8f65
Missing change
2024-06-19 15:45:45 +02:00
Wojtek Figat
9c161121b3
Add Graphics::SpreadWorkload to disable graphics workloads amortization over several frames when debugging graphics perf
2024-06-19 14:03:55 +02:00
ExMatics HydrogenC
9062c04ef0
Complete sdf reflections
2024-06-18 21:25:12 +08:00
Wojtek Figat
7f2464684a
Fix single-frame DDGI black artifacts when Global Surface Atlas got defragmented
2024-06-18 14:17:50 +02:00
Wojtek Figat
6e0dd2064a
Add nearby probes search to fill cells with missing GI data
...
#1614
2024-06-17 18:25:11 +02:00
Wojtek Figat
e3f0991805
Optimize Global Surface Atlas drawing when atlas is full
2024-06-13 23:02:20 +02:00
Wojtek Figat
b760dcdb58
Fix Global Surface Atlas flickering in scenes with lots of objects
2024-06-13 18:10:18 +02:00
Wojtek Figat
2f688892ea
Fix DDGI probes scrolling to properly handle bigger scroll deltas
2024-06-13 17:04:29 +02:00
Wojtek Figat
a232dac196
Fix GlobalSDF sampling in materials to properly read far cascades
2024-06-06 12:10:44 +02:00
Wojtek Figat
0620310f4f
Add improved Global Surface Atlas lighting at far cascades and cascade borders
2024-06-04 10:53:41 +02:00
Wojtek Figat
1e86eff2d3
Improve GPU constant buffers structures definitions to properly align on new Clang
2024-06-02 09:52:10 +02:00
Wojtek Figat
f78bbc6b70
Add GlobalSDFDistance to graphics settings for default GlobalSDF range
...
#2664
2024-05-31 23:21:07 +02:00
Wojtek Figat
7e316a1305
Fix SSAO flickering artifacts in cooked game (disable depth mips usage)
2024-05-31 11:35:38 +02:00
Wojtek Figat
513afd603b
Add increased by 1 mip sdf texture resolution for GlobalSDF building
2024-05-24 22:19:54 +02:00
Wojtek Figat
182d6d8602
Fix regression in missing shadows inside Global Surface Atals
2024-05-23 21:51:57 +02:00
Wojtek Figat
1481d1a1e9
Add ShadowsResolution for manually specified shadowmap resolution for lights
2024-05-23 14:47:16 +02:00
Wojtek Figat
681c473e7a
Re-enable CSM cascades filter width adjustment
2024-05-23 14:34:26 +02:00
Wojtek Figat
206ff89587
Add constant buffers alignment for data structures (16-byte boundaries)
2024-05-23 13:58:46 +02:00
Wojtek Figat
12cf7f0f92
Merge remote-tracking branch 'origin/master' into 1.9
...
# Conflicts:
# Flax.flaxproj
2024-05-22 16:15:14 +02:00
Wojtek Figat
9653fc6725
Optimize stack memory in volumetric fog lights culling
2024-05-22 13:01:24 +02:00
Wojtek Figat
c486577b07
Fix TAA in editor's debug view modes
2024-05-20 19:03:28 +02:00
Wojtek Figat
2edb9cc4d8
Fix compilation warnings when using 64-bit coords
2024-05-08 23:24:23 +02:00