Commit Graph

279 Commits

Author SHA1 Message Date
Wojtek Figat
835a230323 Refactor material shaders to use separate constant buffer (slot 1) for shared per-view constants 2022-11-27 12:06:31 +01:00
Wojtek Figat
189575efec Add GPUDevice::CreateConstantBuffer for custom constants buffers usage 2022-11-26 21:17:05 +01:00
Wojtek Figat
39dc439cd8 Revert "Remove unused LodProxyView feature from RenderContext (shadow projections are using the same draw batch as main view now)"
This reverts commit c33fe04645.
2022-11-26 20:37:04 +01:00
Wojtek Figat
bdb27fef1b Minor optimizations 2022-11-26 12:08:53 +01:00
Wojtek Figat
c33fe04645 Remove unused LodProxyView feature from RenderContext (shadow projections are using the same draw batch as main view now) 2022-11-25 23:04:17 +01:00
Wojtek Figat
62cf8bebd0 Bump up materials version after merge of two upgrades 2022-11-22 20:09:59 +01:00
Wojtek Figat
2ad6eb0c72 Merge branch 'master' into 1.5 2022-11-22 19:58:53 +01:00
Wojtek Figat
c55d38534d Add WorldPosition to postfx material scene textures for world-space position sampling at uv 2022-11-21 23:45:13 +01:00
54e30c35e9 Fix crash when shader cache file is empty 2022-11-17 21:22:32 +02:00
Wojtek Figat
16ebc72099 Fix rendering of custom actors lists in Editor viewports 2022-11-16 09:57:17 +01:00
Wojtek Figat
3b4d91924f Add draw call sorting keys generation during draw calls collection (async) 2022-11-16 09:20:56 +01:00
Wojtek Figat
eb281a7574 Additional improvements to scene rendering 2022-11-15 22:39:03 +01:00
Wojtek Figat
b47d95205f Add optional async scene drawing and improve stability 2022-11-11 15:47:33 +01:00
Wojtek Figat
aa978ce0e4 Minor improvements 2022-11-10 23:45:58 +01:00
Wojtek Figat
ea5e38fdd1 Fixes for overriden draw calls material in debug views 2022-11-10 00:22:23 +01:00
Wojtek Figat
9c7da16c1a Add multi-threaded scene rendering with Job System 2022-11-06 20:44:43 +01:00
Wojtek Figat
183636289a Optimize shadow projections rendering contexts to collect draw call indices only (draw calls from main render list) 2022-11-06 20:44:42 +01:00
Wojtek Figat
6a61b692aa Refactor PostProcessEffect to support C++ scripting 2022-11-02 20:29:59 +01:00
Wojtek Figat
ec62763e87 Optimize Global SDF cascades updates intervals (max 1 cascade per frame) 2022-11-01 00:37:01 +01:00
Wojtek Figat
27ad3c38b7 Rename RenderListAllocation into RendererAllocation 2022-10-28 17:53:22 +02:00
Wojtek Figat
eb52d333ae Refactor scene rendering to use batched culling for main view and shadow projections 2022-10-28 17:53:21 +02:00
Wojtek Figat
e217d5e79b Refactor scene rendering to separate drawable actors 2022-10-28 17:53:21 +02:00
Wojciech Figat
437ed07368 Merge remote-tracking branch 'origin/master' into 1.5 2022-10-24 12:07:39 +02:00
Wojtek Figat
c6523ed9cd Fix crash when presenting task which swap chain is not ready 2022-10-23 14:18:55 +02:00
Wojtek Figat
42d1f40b9c Optimize some code by manual inlining 2022-10-21 18:36:29 +02:00
Wojciech Figat
32e052a87b Refactor native Stream serialization to new API 2022-10-20 17:28:12 +02:00
Wojciech Figat
ff34c7cc9b Refactor raw data ReadSttream and WriteStream to have easier to use API with more features 2022-10-12 11:22:20 +02:00
Wojciech Figat
c9726ab05b Compact graphics settings 2022-09-02 14:10:04 +02:00
Wojciech Figat
b17070adf5 Fix picking to properly select closest triangle for meshes 2022-08-18 15:54:02 +02:00
Wojciech Figat
6a1378ebdb Fix Global Surface Atlas drawing of objects that are hidden in GBuffer pass but should be visible for GI 2022-08-09 14:37:29 +02:00
Wojtek Figat
a6e9abfceb Add UseAlpha to RenderBuffers for pass-though renderer with alpha channel 2022-08-01 22:58:22 +02:00
Wojtek Figat
6cf91b1da4 Add support for main view information in Surface materials during subpass rendering (eg. shadow depth) 2022-07-29 16:58:33 +02:00
Wojciech Figat
2a53143bc4 Add new mode to Screen Space Reflections for DDGI Scene tracing 2022-07-21 09:41:38 +02:00
Wojciech Figat
0af86d8cb8 Add HDR env probes support 2022-07-19 10:33:52 +02:00
Wojciech Figat
6061a0a344 Add support for baking env probes in cooked game 2022-07-18 16:32:50 +02:00
Wojciech Figat
60f868a08b Add real-time environment probes support 2022-07-18 14:50:41 +02:00
Wojciech Figat
3dbff3cab7 Fix crash when closing handles to asset file while any asset streaming task is active for asset from that file 2022-07-18 13:02:34 +02:00
Wojciech Figat
a2677a25a9 Improve env probes rendering if DDGI is enabled 2022-07-15 16:13:36 +02:00
Wojciech Figat
a8579cadcc Move DefaultProbeResolution from Graphics to GraphicsSettings only (not runtime option)
#728
2022-07-14 15:37:54 +02:00
Wojciech Figat
e210e58644 Merge branch 'master' of https://github.com/whocares77/FlaxEngine into whocares77-master 2022-07-14 14:49:04 +02:00
Wojciech Figat
0d8ebd332e Add Global Illumination sampling option to transparent materials (eg. particles) 2022-07-14 14:28:42 +02:00
Wojciech Figat
85f351663b Add Transparent Lighting Modes for material with option to use non-directional shading 2022-07-14 09:22:32 +02:00
Wojtek Figat
8da4e546da Fix env probes far from origin 2022-07-04 20:22:26 +02:00
Wojtek Figat
33513834df Add support for Large Worlds in more engine systems 2022-07-02 20:07:04 +02:00
Wojtek Figat
b40a890d31 More work for large worlds 2022-06-30 22:07:11 +02:00
Wojciech Figat
4007c5e29c Add BounceIntensity to Global Illumination settings 2022-06-30 15:27:31 +02:00
Wojtek Figat
b1640515c4 Merge remote-tracking branch 'origin/gi'
# Conflicts:
#	Source/Engine/Renderer/GlobalSignDistanceFieldPass.cpp
2022-06-28 18:16:28 +02:00
Wojtek Figat
a7463872a8 Add Camera Cut on rendering view origin change (for large worlds) 2022-06-26 19:23:28 +02:00
Wojtek Figat
00498106fa Fix model mouse selection regression 2022-06-23 22:28:12 +02:00
Wojtek Figat
1dab45f407 Add support for renaming GPU resources (development builds only) 2022-06-22 23:08:39 +02:00