Wojtek Figat
32e725392b
Optimize inactive probes update in DDGI with faster Jump Flood instead of Flood Fill
2026-01-06 00:01:17 +01:00
Wojtek Figat
0975ac2a25
Fix odd typo in DDGI inactive probes flood fill
2026-01-05 18:02:05 +01:00
Wojtek Figat
cf3bcc4549
Fix DDGI flickering on floors aligned to world axes
...
Apply a small bias to sample location and dither it a bit to smooth out.
2026-01-05 17:19:16 +01:00
Wojtek Figat
11ea889fa9
Refactor DDGI fallback radiance to use alpha for blending between fixed color and color at snapped location of the last cascade
...
This means artists don't need to adjust the value anymore as it can cover vista geometry with GI at last cascade borders.
2026-01-05 16:22:00 +01:00
Wojtek Figat
c5a28a5734
Refactor DDGI irradiance sampling when nearby probe is missing to use precomputed fallback probes
...
Also, insert fallback/dummy probes when there is no SDF nearby to have lighting in all cases.
This both improves sampling performance and fixes issues when sampling in areas far away from valid GI.
2026-01-05 12:04:02 +01:00
Wojtek Figat
6c79a17c7a
Fix DDGI cascade placement when using large probes spacing
...
Revert fa38f0ac91 after b24d98df9e fixed the source of the problem
2026-01-03 20:57:17 +01:00
Wojtek Figat
b24d98df9e
Fix DDGI cascades blending to be smoother
2026-01-03 00:48:36 +01:00
Wojtek Figat
400e2f1b0e
Fix DDGI flickering on floors aligned to axis on value 0 (eg. floor)
2026-01-02 21:30:14 +01:00
Wojtek Figat
ce45fa3d54
Fix crash on Global Surface Atlas objects buffer building
2025-12-30 23:41:49 +01:00
Wojtek Figat
fa38f0ac91
Fix DDGI cascade offset towards bottom that was too intense making probes flicker
2025-12-20 23:44:56 +01:00
Wojtek Figat
0e76585709
Fix DDGI iradiance to use debanding by applying quantization error to reduce yellowish artifacts due to R11G11B10 format
2025-12-16 23:56:45 +01:00
Wojtek Figat
fb07071e24
Restore Global Surface Atlas and DDGI on Apple platforms
...
#3797
2025-11-20 13:47:18 +01:00
Wojtek Figat
c0c9df49dc
Optimize DDGI probes update to overlap both irradiance and distance data at once
2025-09-03 23:21:45 +02:00
Wojtek Figat
f1c4fd464a
Optimize GPU textures and buffers uploads with a batched memory barrier
2025-09-03 22:11:26 +02:00
Wojtek Figat
5c5341e346
Optimize Color Grading LUT to be cached if unchanged from the previous frame
2025-08-01 23:16:57 +02:00
Wojtek Figat
8fcbef863e
Add GPUResourceMapMode.NoWait flag to control buffer data reading
...
c68b75a298
2025-07-30 08:42:26 +02:00
Wojtek Figat
9c3fd052cd
Remove copyright year from source files and update to 2025
2025-04-07 19:22:21 +02:00
Wojtek Figat
b3f37ca041
Refactor Vertex Shader input vertex layout to use GPUVertexLayout defined on Vertex Buffer rather than Vertex Shader
...
#3044 #2667
2024-12-15 22:10:45 +01:00
Wojtek Figat
5f19538455
Add UpdateFlags to ISceneRenderingListener::UpdateActor for more contextual control overdirtying actors state in renderer data
...
Fixes issue of static shadow maps not refreshing when changing static flags of the model.
2024-09-29 22:03:46 +02:00
Wojtek Figat
3b3be75d94
Fix DDGI probes debug when using very large amount of probes
2024-09-23 20:31:54 +02:00
Wojtek Figat
63bee0c78d
Add IndirectLightingIntensity to Sky for GI intensity control
2024-08-12 15:34:08 +02:00
Wojtek Figat
bc313c8630
Merge remote-tracking branch 'origin/master' into 1.9
2024-08-05 20:00:39 +02:00
Wojtek Figat
305bf653cf
Add todo comments for future improvements to DDGI
2024-07-24 16:39:37 +02:00
Wojtek Figat
6f3d1cdd0a
Optimize Global Surface Atlas objects culling with shared thread group pre-cull
2024-07-24 11:46:20 +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
352913ba14
Add random per-probe rotation for rays tracing in DDGI
2024-07-11 14:48:24 +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
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
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
8eaa635385
Minor tweaks to GlobalSA
2024-06-26 18:19:48 +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
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
0620310f4f
Add improved Global Surface Atlas lighting at far cascades and cascade borders
2024-06-04 10:53:41 +02:00