Commit Graph

277 Commits

Author SHA1 Message Date
Wojtek Figat
c878c613c7 Update consoles building 2023-02-05 23:48:11 +01:00
Wojtek Figat
aa8d6f7c79 Fix ribbon particles triangle indices ordering to prevent artifacts 2023-02-03 13:30:48 +01:00
Wojtek Figat
baabc5d16f Add AfterForwardPass for custom postfx render location 2023-02-01 11:38:22 +01:00
Wojtek Figat
ab51ecddb4 Add RenderBuffers::LinkedCustomBuffers to reuse main game viewport rendered state (eg. GI) in sub-rendered view 2023-02-01 11:05:29 +01:00
Wojtek Figat
831af77eff Fix rendering with custom feature-set 2023-01-31 16:18:04 +01:00
Wojtek Figat
b071cdb843 Expose various engine features to scripting 2023-01-31 16:01:56 +01:00
Wojtek Figat
a0c6add732 Add ViewFlags::Sky for conditional sky/skybox rendering 2023-01-31 15:58:02 +01:00
Wojtek Figat
b93e97dd76 Add EnumHasNoneFlags 2023-01-31 15:19:34 +01:00
Wojtek Figat
c46ea56af2 Rename DepthTestEnable to DepthEnable in Graphics PSO to match actual logic 2023-01-31 14:04:00 +01:00
Wojtek Figat
5a30883082 Add AfterGBufferPass for custom PostFx location 2023-01-31 09:28:19 +01:00
Wojtek Figat
9b3d15aa46 Add Renderer::DrawActors for quick actors rendering in custom render passes 2023-01-30 00:52:32 +01:00
Wojtek Figat
87549a3e6c Fix sort order usage in multi-pass drawing of the Mesh 2023-01-28 01:31:07 +01:00
Wojtek Figat
adfe3ad165 Add SortOrder to drawable object types for transparency sorting override 2023-01-26 18:37:40 +01:00
Wojtek Figat
a2af46845d Merge branch 'master' into 1.5
# Conflicts:
#	Source/Engine/Renderer/AmbientOcclusionPass.cpp
2023-01-15 18:27:49 +01:00
Wojtek Figat
675aa92b53 Fix crash in SSAO when using very low render resolution 2023-01-15 14:08:24 +01:00
Wojtek Figat
f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00
Wojciech Figat
a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojciech Figat
0595f38fe4 Fix threading issues with GPU buffers mapping 2023-01-09 22:41:06 +01:00
Wojciech Figat
70cce0e1ee Fix regression crash when using DoF, optimize DoF usage of GPU memory 2023-01-09 16:06:47 +01:00
Wojtek Figat
8918c71312 Update old header usage 2022-12-22 19:31:01 +01:00
Wojciech Figat
1cf6c5233e Refactor DDGI probes to use variable ray count depending on the probe location relative to the view frustum 2022-12-15 17:33:44 +01:00
Wojciech Figat
c38eda5799 Fixes for compilation 2022-12-14 14:04:14 +01:00
Wojciech Figat
188428a7a9 Add RenderSetup and allow customizing it by gameplay and postfx 2022-12-14 14:03:59 +01:00
Wojciech Figat
c17477abff Add RenderingUpscaleLocation for customizing upscaler location in render pipeline 2022-12-13 11:52:52 +01:00
Wojciech Figat
ee019510ca Remove old RT1_FloatRGB and RT2_FloatRGB in favor pooled render targets 2022-12-13 11:52:51 +01:00
Wojciech Figat
b33ce8d264 Add pooled render targets naming for easier GPU memory usage debugging 2022-12-09 11:26:35 +01:00
Wojtek Figat
df45ac46b1 Optimize various debug views performance 2022-12-03 12:23:39 +01:00
Wojtek Figat
98c29c4a4e Optimize compilation time 2022-12-03 10:42:58 +01:00
Wojtek Figat
3da7e8d7ba Additional improvement for RenderListBuffer 2022-11-27 20:33:39 +01:00
Wojtek Figat
373350df1e Improve stability of RenderListBuffer resizing when multiple threads add and resize at the same time 2022-11-27 12:07:10 +01:00
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
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
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
5cc66d60dc Tweaks 2022-11-24 20:14:47 +01:00
Wojtek Figat
6f95f162d0 Move MotionVectors pass draw calls sorting to be together with the rest of the sortings 2022-11-24 20:01:28 +01:00
Wojciech Figat
33e2fa7f9e Fix game build 2022-11-21 14:23:59 +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
a2670dc3b5 Refactor ConcurrentArray into RenderListBuffer for specialized usage in renderer 2022-11-15 17:43:30 +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
4ba1531cda Add async scene drawing for Foliage and Terrain 2022-11-10 23:43:36 +01:00
Wojtek Figat
ea5e38fdd1 Fixes for overriden draw calls material in debug views 2022-11-10 00:22:23 +01:00
Wojtek Figat
f2170a09cd Optimize GlobalSDF actors drawing CPU perf 2022-11-06 20:44:44 +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
0f619c2cb6 Simplify code 2022-11-03 00:19:21 +01:00
Wojtek Figat
5bd56cae81 Fix GlobalSDF rasterization of heightfield 2022-11-02 20:30:13 +01:00
Wojtek Figat
6a61b692aa Refactor PostProcessEffect to support C++ scripting 2022-11-02 20:29:59 +01:00