Wojtek Figat
bb00653645
Fix regression in shadow maps rendering batching to ignore transparent materials due to opacity usage
2024-08-22 17:49:12 +02:00
Wojtek Figat
63bee0c78d
Add IndirectLightingIntensity to Sky for GI intensity control
2024-08-12 15:34:08 +02:00
Wojtek Figat
ca62a6c4bf
Fix directional lights shadows jittering when using TAA
2024-08-08 14:05:57 +02:00
Wojtek Figat
2b9c050911
Add Graphics.ShadowUpdateRate to control global shadows atlas update rate
2024-08-07 23:46:18 +02:00
Wojtek Figat
28ce224caa
Reduce shadow atlas fragmentation to favor bigger tile sizes
2024-08-07 17:14:31 +02:00
Wojtek Figat
15d6f9861c
Fix shadow atlas resizing bug
2024-08-07 17:14:06 +02:00
Wojtek Figat
bc313c8630
Merge remote-tracking branch 'origin/master' into 1.9
2024-08-05 20:00:39 +02:00
Wojtek Figat
a49fc1c5d1
Merge branch 'forward-software-refl' of https://github.com/HydrogenC/FlaxEngine into HydrogenC-forward-software-refl
2024-08-05 19:04:28 +02:00
Wojtek Figat
117178f547
Fix shader resource usage warning when drawing grid gizmo after selection outline
...
#2808
2024-08-05 18:18:02 +02:00
Wojtek Figat
305bf653cf
Add todo comments for future improvements to DDGI
2024-07-24 16:39:37 +02:00
Wojtek Figat
b2e228c090
Fix shadows rendering in reflection probes
2024-07-24 13:43:53 +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
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