Commit Graph

279 Commits

Author SHA1 Message Date
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
Wojciech Figat
cad9bad950 Merge remote-tracking branch 'origin/master' into gi 2022-04-21 12:57:08 +02:00
Wojciech Figat
2b9aa0cf71 Fix typos 2022-04-15 09:59:37 +02:00
Wojciech Figat
d52e70af6c Implement shadows rendering to direct light atlas (with Glboal SDF tracing) 2022-04-14 16:26:45 +02:00
Wojciech Figat
0668a23167 Add direct lighting rendering into Global Surface Atlas 2022-04-13 16:26:19 +02:00
Wojtek Figat
96ed170871 Use TraceSceenSpaceReflection in SSR shader for opaque 2022-04-12 22:16:45 +02:00
Wojtek Figat
58491e6d23 Add **Screen Space Reflections for transparent materials** 2022-04-12 22:16:06 +02:00
Wojciech Figat
e8774ebd29 Fixes and improvements for global sdf and global surface atlas 2022-04-11 16:15:28 +02:00
Wojciech Figat
bd48829a09 Improve quality for atlas sampling 2022-04-11 10:36:39 +02:00
Wojciech Figat
7735849b7f Add Global Surface Atlas sampling 2022-04-08 13:54:31 +02:00
Wojciech Figat
da4008575b Progress on surface atlas sampling 2022-04-07 17:16:06 +02:00
Wojciech Figat
49a67be419 Add objects culling in Global Surface Atlas 2022-04-06 16:56:04 +02:00
Wojciech Figat
60d6e6b9ce Add dirty tiles clearing before mesh rasterization to Global Surface Atlas 2022-04-05 17:22:45 +02:00
Wojciech Figat
016b96e9f0 Add objects rasterization to Global Surface Atlas 2022-04-04 17:13:31 +02:00
Wojciech Figat
63b8b0cb50 Add GlobalSurfaceAtlas pass to Renderer (wip) 2022-03-29 15:07:00 +02:00
Wojciech Figat
787e7b423c Add additional HitNormal feature to Global SDF trace output 2022-03-29 15:06:54 +02:00
Wojciech Figat
c41a446ae9 Add Rotate Vector node to Visject Surface graphs 2022-03-28 15:02:32 +02:00
Wojciech Figat
2b83975ea2 Add support for implicit casting from Quaternion to other types in shaders 2022-03-28 14:48:21 +02:00
Wojciech Figat
a917397090 Add Conform to Global SDF to GPU particles 2022-03-25 15:36:00 +01:00
Wojciech Figat
6c4e61a924 Add SampleGlobalSDFGradient to get normal vector of Global SDF 2022-03-25 12:53:30 +01:00
Wojciech Figat
1271a337c5 Fix sampling Global SDF if unsupported (return large distance) 2022-03-25 11:42:39 +01:00
Wojciech Figat
b847b9ccba Add **Sample Global SDF** node to materials 2022-03-25 10:09:52 +01:00
Wojciech Figat
18321937e4 Optimize model SDF with 8-bit storage (if possible) 2022-03-22 15:08:38 +01:00
Wojciech Figat
8cca7f884b Add **Global Sign Distance Field** rendering (work in progress) 2022-03-18 16:18:00 +01:00
Wojciech Figat
8c075c78cb Add LineHitBox to Collisions.hlsl 2022-02-21 20:15:07 +01:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojciech Figat
25c7909e30 Fix radial lights 2021-12-13 17:32:00 +01:00
Wojciech Figat
55c015de4b Fix VolumetricFog regression from 4b9001abf2 2021-12-08 16:53:31 +01:00
Wojciech Figat
4b9001abf2 Fix spot lights rendering on D3D12 2021-12-07 18:23:06 +01:00
Wojciech Figat
b44b8955b3 Fix depth of field blur artifacts on upper and left screen edges 2021-12-07 18:23:04 +01:00
Wojtek Figat
e8b680c78b Add ps5 changes 2021-11-21 19:02:37 +01:00
Wojtek Figat
1af5ec8492 Add Quad Overdraw debug view mode 2021-10-07 14:59:06 +02:00
Wojtek Figat
0bd5f63ae4 Use single color materialinstead of shader for LOD Preview 2021-10-07 09:29:22 +02:00
Wojtek Figat
98ca7c1726 Add Material Complexity debug view model 2021-10-07 09:28:49 +02:00
Wojtek Figat
3dff9196c2 Add LOD Preview debug view mode 2021-10-05 21:54:19 +02:00