Commit Graph

305 Commits

Author SHA1 Message Date
Wojtek Figat
98d5769558 Fix performance bug in Development/Release builds due to incorrect draw calls batching (uninitialized memory) 2023-09-28 10:59:09 +02:00
Wojtek Figat
9f97787099 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-20 16:02:48 +02:00
Wojtek Figat
8cd8ae93c3 Add ObjectRadius to DrawCall to properly cull local lights and env probes in Forward Shading 2023-09-20 15:01:02 +02:00
Wojtek Figat
7e81fdbd75 Fix crash when D3D11 backend fails to create shader due to driver failure 2023-09-19 23:45:30 +02:00
Wojtek Figat
e27f1a8a41 Merge remote-tracking branch 'origin/master' into 1.7 2023-08-10 18:34:27 +02:00
fe87eb96e6 Skip post processing when tonemapping and camera artifacts are disabled 2023-08-01 20:20:34 +03:00
Wojtek Figat
e39a56fc4e Merge remote-tracking branch 'origin/master' into 1.7 2023-07-18 11:47:39 +02:00
Wojtek Figat
488958ce44 Fix DrawSceneDepth to properly draw scene objects when custom actors list is empty
#1253
2023-07-18 10:16:11 +02:00
Wojtek Figat
a6353c0bb9 Rename GPUPipelineState::Description::PrimitiveTopologyType to PrimitiveTopology 2023-06-19 11:53:40 +02:00
Wojtek Figat
0112f70c05 Merge remote-tracking branch 'origin/master' into dotnet7 2023-03-01 19:50:22 +01:00
Wojtek Figat
5e6f33ff1e Fix stability of Global Surface Atlas to smooth objects culling buffer capacity over time 2023-03-01 15:50:40 +01:00
Wojtek Figat
3b797ab1dc Prevent artifacts in Global Surface Atlas when close to its capacity 2023-02-19 17:36:44 +01:00
Wojtek Figat
0cf40729fa Merge remote-tracking branch 'origin/master' into dotnet7 2023-02-19 15:04:02 +01:00
Wojtek Figat
7a5d84a216 Fix Global SDF objects culling into chunks to correctly match world geometry 2023-02-18 23:15:50 +01:00
Wojtek Figat
ffd5c8fd53 Fix crash on D3D10 2023-02-18 00:09:30 +01:00
Wojtek Figat
679757942f Fix GPU Buffer Map/Unmap pair to prevent stall if map fails on DX11
#942
2023-02-17 16:28:48 +01:00
Wojtek Figat
ac59cc4633 Merge remote-tracking branch 'origin/master' into dotnet7 2023-02-13 10:05:51 +01:00
Wojtek Figat
3636cd6940 Fix render target memory leak in Global Surface Atlas debug 2023-02-09 13:30:27 +01:00
Wojtek Figat
0270772463 Merge remote-tracking branch 'origin/master' into dotnet7 2023-02-06 10:02:13 +01:00
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
Wojciech Figat
7b20bc38a4 Merge branch '1.5' into dotnet7
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Tools/Flax.Build/Projects/VisualStudio/VCProjectGenerator.cs
2023-01-17 11:52:52 +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
eebc4951de Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit-agent.exe
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/agents/net7.0/nunit.agent.addins
#	Source/Platforms/DotNet/NUnit/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.dll
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe.config
#	Source/Platforms/DotNet/NUnit/testcentric.engine.metadata.dll
#	Source/Tools/Flax.Build/Deps/Downloader.cs
#	Source/Tools/Flax.Stats/CodeFrame.cs
#	Source/Tools/Flax.Stats/CodeFrameNode.cs
#	Source/Tools/Flax.Stats/Flax.Stats.Build.cs
#	Source/Tools/Flax.Stats/Languages.cs
#	Source/Tools/Flax.Stats/Program.cs
#	Source/Tools/Flax.Stats/TaskType.cs
#	Source/Tools/Flax.Stats/Tools.cs
#	Source/Tools/FlaxEngine.Tests/TestEditorUtils.cs
2023-01-10 15:49:44 +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
Wojciech Figat
88bd5b2534 Fix threading issues with GPU buffers mapping 2023-01-04 12:06:56 +01:00
Wojtek Figat
c48a81a068 Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Editor/Managed/ManagedEditor.Internal.cpp
#	Source/Engine/Core/Config/LayersAndTagsSettings.cs
2022-12-28 18:49:14 +01:00
53de6d018b Return container types as return parameters 2022-12-27 19:02:40 +02:00
Wojciech Figat
61bd491969 Fix selection outline when nothing is selected 2022-12-23 11:37:11 +01:00
Wojtek Figat
8918c71312 Update old header usage 2022-12-22 19:31:01 +01:00
e03a819176 Replace usage of Utils.ExtractArrayFromList with Span 2022-12-22 19:54:59 +02:00
Wojciech Figat
9a5c105db9 Merge branch '1.5' into dotnet7 2022-12-21 10:35:58 +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