Commit Graph

163 Commits

Author SHA1 Message Date
Wojciech Figat
d8e79101e7 Refactor Global Surface Atlas to not rewrite objects data and use indirection for faster culling 2022-06-27 16:07:54 +02:00
Wojciech Figat
282b9066b8 Improve DDGI quality 2022-06-24 16:17:32 +02:00
Wojciech Figat
b69e42b79c Fix initializing activated and scrolled DDGI probes 2022-06-23 14:51:36 +02:00
Wojciech Figat
4afb74c7b3 Optimize DDGI probes updating with active-only probes 2022-06-22 14:09:31 +02:00
Wojciech Figat
4637017707 Optimize thread group size for DDGI trace rays compute shader 2022-06-21 10:32:25 +02:00
Wojciech Figat
f31ba5cad8 Fix 2022-06-20 12:14:09 +02:00
Wojciech Figat
5239a2b410 Optimize DDGI probes state data from R16G16B16A16_Float to R8G8B8A8_SNorm 2022-06-20 09:49:40 +02:00
Wojciech Figat
9f99d74e53 Adjust DDGI quality and optimize 2022-06-17 14:32:07 +02:00
Wojciech Figat
2e06d1ce2a Refactor Global SDF to use a single texture for all cascades 2022-06-17 10:41:04 +02:00
Wojciech Figat
62a39911dd Improve DDGI irradiance sampling by skipping cascades with not enough active probes at the sample location 2022-06-15 10:37:03 +02:00
Wojciech Figat
84ddba5814 Add DDGI injection into Volumetric Fog 2022-06-15 09:51:40 +02:00
Wojciech Figat
fc96620045 Remove disabling temporal reprojection from Volumetric Fog 2022-06-14 16:56:53 +02:00
Wojciech Figat
4cabf9de53 Merge remote-tracking branch 'origin/master' into gi 2022-06-14 12:03:28 +02:00
Wojtek Figat
b815ba51a5 Fix build issues 2022-06-13 23:37:11 +02:00
Wojciech Figat
37511c0e6b Various DDGI improvements 2022-06-13 16:02:41 +02:00
Wojciech Figat
6c45fff205 Add Global SDF mip sampling in DDGI probes classification to prevent flickering on large maps 2022-06-13 15:28:46 +02:00
Wojciech Figat
e96e6bea86 Fix initial irradiance update for scrolled probes 2022-06-13 13:59:01 +02:00
Wojciech Figat
d4839b9c78 Add Global Illumination options to PostFx Settings 2022-06-10 18:48:17 +02:00
Wojciech Figat
f685c67275 Add Global SDF quality setting and support for variable cascades count and resolution 2022-06-10 14:30:40 +02:00
Wojciech Figat
3b27ae5fa9 Optimize ProbesTrace texture in DDGI to use batched probes update 2022-06-10 10:39:46 +02:00
Wojciech Figat
3a8e5e0bbe Various DDGI quality improvements 2022-06-09 11:31:20 +02:00
Wojciech Figat
211491f3d2 Add missing AO for DDGI irradiance 2022-06-09 10:55:26 +02:00
Wojciech Figat
6a74ebd62e Add support for cascades to DDGI 2022-06-09 08:55:45 +02:00
Wojciech Figat
73d762cf0c Fix regression from 5ee62be166 2022-06-06 15:47:56 +02:00
Wojciech Figat
5ee62be166 Various DDGI improvements to the quality of the final effect 2022-06-06 15:04:58 +02:00
Wojciech Figat
c147e3bff4 Minor DDGI optimization 2022-06-06 13:13:36 +02:00
Wojciech Figat
79220556df Improve DDGI probes relocation algorithm 2022-06-03 17:43:12 +02:00
Wojciech Figat
befaf65ab1 Optimize DDGI probes position calculation when sampling irradiance 2022-06-03 16:11:46 +02:00
Wojciech Figat
54c322da7c Fix missing specular regression 2022-06-03 12:14:03 +02:00
Wojciech Figat
d05c09a33d Improve GI quality 2022-06-02 18:13:15 +02:00
Wojciech Figat
641d04a50e Improve GI quality 2022-05-31 15:52:19 +02:00
Wojciech Figat
eb6050cf27 Improve probes relocation algorithm to reduce visual artifacts due to probes flickering 2022-05-27 11:44:39 +02:00
Wojciech Figat
c2082925c7 Improve multi-bounce irradiance lighting by limiting the diffuse color intensity 2022-05-26 15:09:37 +02:00
Wojciech Figat
e6a06832bf Fix invalid border corner pixel copy in probe image 2022-05-25 10:39:24 +02:00
Wojciech Figat
89ac470733 Add indirect lighting to Global Surface Atlas to achieve infinite GI bounces 2022-05-23 14:10:45 +02:00
Wojciech Figat
72c0474397 Add realtime sky/skybox capturing for GI 2022-05-23 12:53:39 +02:00
Wojciech Figat
375222a089 Initial DDGI implementation 2022-05-23 10:15:02 +02:00
Wojciech Figat
1a64df9116 Add more math utilities 2022-05-19 16:03:54 +02:00
Wojciech Figat
8125e406bb Add new math utilities to shaders library 2022-05-16 10:06:12 +02:00
Wojciech Figat
abcc319168 Minor rename fixes 2022-05-12 13:46:05 +02:00
Wojciech Figat
70de677266 Fix InstanceOrigin, PerInstanceRandom and LODDitherFactor to not use interpolation between shader stages 2022-05-12 13:30:59 +02:00
Wojciech Figat
acd064c364 Introduce separate GI directory 2022-05-02 12:09:53 +02:00
Wojciech Figat
8e02d449fb Fix rare crash on terrain in Global Surface Atlas sampling 2022-05-02 10:13:20 +02:00
Wojciech Figat
7731db638f Fix raycasting Global SDF from far cascade 2022-04-30 15:22:54 +02:00
Wojciech Figat
8428f28239 Various improvements for SDF rendering 2022-04-29 17:11:39 +02:00
Wojciech Figat
5465652466 Add terrain rendering support for Global Surface Atlas 2022-04-29 14:05:03 +02:00
Wojciech Figat
70b9db7598 Add support for rasterizing terrain into Global SDF as heightfield 2022-04-28 14:17:10 +02:00
Wojciech Figat
37a49c0d2e Reduce artifacts on Global Surface Atlas sampling due to SDF precision loss on far cascades 2022-04-27 14:25:48 +02:00
Wojciech Figat
49aa4abc20 Optimize Global Surface Atlas sampling with 3d-grid culling into chunks 2022-04-27 12:47:11 +02:00
Wojciech Figat
77dcc9b7a3 Refactor Global Surface Atlas objects buffer into separate tiles buffer to reduce memory usage and increase cache hit ratio 2022-04-22 14:24:06 +02:00