Commit Graph

133 Commits

Author SHA1 Message Date
Wojciech Figat
f7e48d9b23 Add shader getter to IMaterial interface 2022-05-12 13:47:19 +02:00
Wojciech Figat
abcc319168 Minor rename fixes 2022-05-12 13:46:05 +02:00
Wojciech Figat
ab37cc72a9 Minor renaming 2022-05-02 12:52:38 +02:00
Wojciech Figat
acd064c364 Introduce separate GI directory 2022-05-02 12:09:53 +02:00
Wojciech Figat
04a7dab7e7 Minor fixes 2022-05-02 10:36:31 +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
1a711ea14f Improve Global Surface Atlas debug view to display multiple view types 2022-04-28 14:17:30 +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
3ec856778c Optimize Global SDF chunk data 2022-04-28 10:42:58 +02:00
Wojciech Figat
a7e512bd50 Add GlobalSurfaceAtlas draw pass 2022-04-27 16:41:40 +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
9d205cbb7d Fix 2022-04-21 13:08:28 +02:00
Wojciech Figat
cad9bad950 Merge remote-tracking branch 'origin/master' into gi 2022-04-21 12:57:08 +02:00
Wojciech Figat
ca935f4f08 Improve Global SDF static chunks cache to track SDF textures streaming 2022-04-21 12:40:23 +02:00
Wojciech Figat
0a458d94c4 Add support for Volume textures to have residency changed as regular textures 2022-04-21 12:36:16 +02:00
Wojciech Figat
60d2670e2e Fixes 2022-04-21 12:29:09 +02:00
Wojciech Figat
e44c09aa6e Optimize SDF model buffer flushing to be used only if needed 2022-04-21 12:10:22 +02:00
Wojciech Figat
1523fa98ec Add static chunks caching to Global SDF 2022-04-19 17:17:27 +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
e32ad93020 Add support for sampling Scene Color in transparent materials (forward pass) 2022-04-12 21:48:52 +02:00
Wojciech Figat
0a27d277a0 Adjustments 2022-04-12 14:27:06 +02:00
Wojciech Figat
74b95a6ebb Add Global Surface Atlas automatic defragmentation on insertion failure 2022-04-12 11:10:38 +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
db0cb04b83 Merge remote-tracking branch 'origin/master' into gi 2022-04-11 10:37:23 +02:00
Wojciech Figat
bd48829a09 Improve quality for atlas sampling 2022-04-11 10:36:39 +02:00
Wojciech Figat
52245d36d6 Fixes for global atlas cache rendering 2022-04-11 10:36:19 +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
430ef09ab1 Fix render pass resource checking 2022-04-06 13:16:12 +02:00
Wojciech Figat
34c0d6c442 Add Global Surface Atlas objects redrawing 2022-04-06 13:15:45 +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
8bf01146f1 Add profile event to Global SDF objects drawing loop 2022-04-04 17:11:26 +02:00
Wojciech Figat
4c98e0a335 Add IsSingleFrame to RenderView for thumbnails/pre-render views drawing without temporal effects and LOD transitions 2022-04-04 17:11:01 +02:00
Wojciech Figat
de8a6bea58 Add drawing RenderList if it was not batched/sorted 2022-04-01 12:40:26 +02:00
Wojciech Figat
94799a9e28 Fixes and tweaks for rendering 2022-04-01 12:39:46 +02:00
Wojciech Figat
63b8b0cb50 Add GlobalSurfaceAtlas pass to Renderer (wip) 2022-03-29 15:07:00 +02:00
Wojciech Figat
9d56093381 Add lazy init for Global SDF shader 2022-03-29 15:06:48 +02:00
Wojciech Figat
26b2cb291e Expose GlobalSignDistanceFieldPass to user scripts 2022-03-29 15:06:41 +02:00
Wojciech Figat
79669a8789 Fix upscaler usage if resolution is higher than 1 2022-03-28 16:31:23 +02:00
Wojciech Figat
fc138bbbbb Fix GPU context error during lights rendering 2022-03-28 14:01:51 +02:00
Wojciech Figat
a5af0a1c81 Fix game build 2022-03-25 11:42:09 +01:00
Wojciech Figat
4a18185e81 Add **Sample Global SDF** node to particles 2022-03-25 11:41:17 +01:00
Wojciech Figat
b847b9ccba Add **Sample Global SDF** node to materials 2022-03-25 10:09:52 +01:00
Wojciech Figat
d5297f9047 Add option to always render Global SDF 2022-03-24 14:59:14 +01:00