Commit Graph

363 Commits

Author SHA1 Message Date
mafiesto4 0709288eac Revert Depth Offset (wrong impl, can be done later) 2023-01-31 14:22:37 +01:00
mafiesto4 c46ea56af2 Rename DepthTestEnable to DepthEnable in Graphics PSO to match actual logic 2023-01-31 14:04:00 +01:00
mafiesto4 c9fce7e4aa Add GBuffer textures to the C# scripting 2023-01-31 09:28:48 +01:00
mafiesto4 5a30883082 Add AfterGBufferPass for custom PostFx location 2023-01-31 09:28:19 +01:00
mafiesto4 a219a3d2eb Add **Depth Offset to materials** 2023-01-29 22:09:51 +01:00
mafiesto4 a214c14a4d Add Sort Order to animated models too 2023-01-28 17:03:18 +01:00
mafiesto4 87549a3e6c Fix sort order usage in multi-pass drawing of the Mesh 2023-01-28 01:31:07 +01:00
mafiesto4 adfe3ad165 Add SortOrder to drawable object types for transparency sorting override 2023-01-26 18:37:40 +01:00
mafiesto4 f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00
mafiesto4 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
mafiesto4 9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
mafiesto4 0595f38fe4 Fix threading issues with GPU buffers mapping 2023-01-09 22:41:06 +01:00
mafiesto4 67c63f1410 Optimize GPU Resource name to prevent memory allocs when changing name frequently 2023-01-09 22:40:26 +01:00
mafiesto4 c011e8af62 Add support for CanRender in postFx to depend on specific render setup 2023-01-06 13:45:36 +01:00
mafiesto4 8918c71312 Update old header usage 2022-12-22 19:31:01 +01:00
mafiesto4 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
mafiesto4 3fcbcacd43 Fix empty draw call submitting 2022-12-15 17:33:14 +01:00
mafiesto4 b9244df8f7 Fix temporal anti-aliasing to provide better quality output 2022-12-15 12:40:21 +01:00
mafiesto4 79f4dfcaab Add GetNativePtr to GPUAdapter 2022-12-14 16:16:25 +01:00
mafiesto4 713aa3e0f9 Add SetResourceState and ForceRebindDescriptors to GPUContext for integration with external rendering libraries 2022-12-14 16:16:02 +01:00
mafiesto4 188428a7a9 Add RenderSetup and allow customizing it by gameplay and postfx 2022-12-14 14:03:59 +01:00
mafiesto4 c17477abff Add RenderingUpscaleLocation for customizing upscaler location in render pipeline 2022-12-13 11:52:52 +01:00
mafiesto4 ee019510ca Remove old RT1_FloatRGB and RT2_FloatRGB in favor pooled render targets 2022-12-13 11:52:51 +01:00
mafiesto4 48b88af88a Fix deadlock in GPUDevice caused by f2c594569d 2022-12-12 20:16:11 +01:00
mafiesto4 d4601ecb44 Add memory usage query for various asset types 2022-12-09 15:48:43 +01:00
mafiesto4 a809a69ca0 Fixes for GPU resources C# object types 2022-12-09 11:28:39 +01:00
mafiesto4 202de3499f Rename property GetElementsCount to ElementsCount in C# GPUBufferDescription 2022-12-09 11:28:17 +01:00
mafiesto4 7f0c73606c Improve naming various GPU resources 2022-12-09 11:27:41 +01:00
mafiesto4 b33ce8d264 Add pooled render targets naming for easier GPU memory usage debugging 2022-12-09 11:26:35 +01:00
mafiesto4 df82a0f5d0 Add **GPU Memory profiler** to Editor 2022-12-08 16:30:37 +01:00
mafiesto4 f2c594569d Remove GPUResourcesCollection and use GPUDevice instead to simplify code 2022-12-07 15:32:23 +01:00
mafiesto4 2b6e3cf993 Fix lod preview typo in df45ac46b1 2022-12-03 13:10:47 +01:00
mafiesto4 df45ac46b1 Optimize various debug views performance 2022-12-03 12:23:39 +01:00
mafiesto4 98c29c4a4e Optimize compilation time 2022-12-03 10:42:58 +01:00
mafiesto4 835a230323 Refactor material shaders to use separate constant buffer (slot 1) for shared per-view constants 2022-11-27 12:06:31 +01:00
mafiesto4 189575efec Add GPUDevice::CreateConstantBuffer for custom constants buffers usage 2022-11-26 21:17:05 +01:00
mafiesto4 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
mafiesto4 bdb27fef1b Minor optimizations 2022-11-26 12:08:53 +01:00
mafiesto4 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
mafiesto4 62cf8bebd0 Bump up materials version after merge of two upgrades 2022-11-22 20:09:59 +01:00
mafiesto4 2ad6eb0c72 Merge branch 'master' into 1.5 2022-11-22 19:58:53 +01:00
mafiesto4 c55d38534d Add WorldPosition to postfx material scene textures for world-space position sampling at uv 2022-11-21 23:45:13 +01:00
GoaLitiuM 54e30c35e9 Fix crash when shader cache file is empty 2022-11-17 21:22:32 +02:00
mafiesto4 16ebc72099 Fix rendering of custom actors lists in Editor viewports 2022-11-16 09:57:17 +01:00
mafiesto4 3b4d91924f Add draw call sorting keys generation during draw calls collection (async) 2022-11-16 09:20:56 +01:00
mafiesto4 eb281a7574 Additional improvements to scene rendering 2022-11-15 22:39:03 +01:00
mafiesto4 b47d95205f Add optional async scene drawing and improve stability 2022-11-11 15:47:33 +01:00
mafiesto4 aa978ce0e4 Minor improvements 2022-11-10 23:45:58 +01:00
mafiesto4 ea5e38fdd1 Fixes for overriden draw calls material in debug views 2022-11-10 00:22:23 +01:00
mafiesto4 9c7da16c1a Add multi-threaded scene rendering with Job System 2022-11-06 20:44:43 +01:00