Commit Graph

322 Commits

Author SHA1 Message Date
Wojtek Figat
d92da5ceba Upgrade GPU limits to support 16k textures 2023-02-07 13:35:00 +01:00
Wojtek Figat
9bb8dcac3d Fix GPU Limits to be clamped to the compile-time limits 2023-02-07 13:30:18 +01:00
Wojtek Figat
58e99ca469 Fix crash in renderer due to the same object being registered twice 2023-02-03 16:01:42 +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
45a30990ba Add GPUContext::SetBlendFactor 2023-02-01 11:07:48 +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
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
0709288eac Revert Depth Offset (wrong impl, can be done later) 2023-01-31 14:22:37 +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
c9fce7e4aa Add GBuffer textures to the C# scripting 2023-01-31 09:28:48 +01:00
Wojtek Figat
5a30883082 Add AfterGBufferPass for custom PostFx location 2023-01-31 09:28:19 +01:00
Wojtek Figat
a219a3d2eb Add **Depth Offset to materials** 2023-01-29 22:09:51 +01:00
Wojtek Figat
a214c14a4d Add Sort Order to animated models too 2023-01-28 17:03:18 +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
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
67c63f1410 Optimize GPU Resource name to prevent memory allocs when changing name frequently 2023-01-09 22:40:26 +01:00
Wojciech Figat
c011e8af62 Add support for CanRender in postFx to depend on specific render setup 2023-01-06 13:45:36 +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
3fcbcacd43 Fix empty draw call submitting 2022-12-15 17:33:14 +01:00
Wojciech Figat
b9244df8f7 Fix temporal anti-aliasing to provide better quality output 2022-12-15 12:40:21 +01:00
Wojciech Figat
79f4dfcaab Add GetNativePtr to GPUAdapter 2022-12-14 16:16:25 +01:00
Wojciech Figat
713aa3e0f9 Add SetResourceState and ForceRebindDescriptors to GPUContext for integration with external rendering libraries 2022-12-14 16:16:02 +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
Wojtek Figat
48b88af88a Fix deadlock in GPUDevice caused by f2c594569d 2022-12-12 20:16:11 +01:00
Wojciech Figat
d4601ecb44 Add memory usage query for various asset types 2022-12-09 15:48:43 +01:00
Wojciech Figat
a809a69ca0 Fixes for GPU resources C# object types 2022-12-09 11:28:39 +01:00
Wojciech Figat
202de3499f Rename property GetElementsCount to ElementsCount in C# GPUBufferDescription 2022-12-09 11:28:17 +01:00
Wojciech Figat
7f0c73606c Improve naming various GPU resources 2022-12-09 11:27:41 +01:00
Wojciech Figat
b33ce8d264 Add pooled render targets naming for easier GPU memory usage debugging 2022-12-09 11:26:35 +01:00
Wojciech Figat
df82a0f5d0 Add **GPU Memory profiler** to Editor 2022-12-08 16:30:37 +01:00
Wojciech Figat
f2c594569d Remove GPUResourcesCollection and use GPUDevice instead to simplify code 2022-12-07 15:32:23 +01:00
Wojtek Figat
2b6e3cf993 Fix lod preview typo in df45ac46b1 2022-12-03 13:10:47 +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
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