Commit Graph

111 Commits

Author SHA1 Message Date
Wojtek Figat
510fc443e8 Refactor CoreCLR runtime into explicit dotnet api instead of mocking mono api
Required by platforms that will use mono under the hood for .Net 7
New `USE_CSHARP` define for C# ability
Engine doesn't use `mono_*` apis directly but via MCore/MClass/MMethod/ apis
2023-03-27 17:29:42 +02:00
Wojtek Figat
0709288eac Revert Depth Offset (wrong impl, can be done later) 2023-01-31 14:22:37 +01:00
Wojtek Figat
c39d1283f8 Add sort order for custom model drawing 2023-01-31 09:29:04 +01:00
Wojtek Figat
a219a3d2eb Add **Depth Offset to materials** 2023-01-29 22:09:51 +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
Wojtek Figat
0e1da59f0c Fix loading materials when using Null renderer
Regression from dbcb333ba9
2022-12-29 23:35:47 +01:00
Wojciech Figat
d4601ecb44 Add memory usage query for various asset types 2022-12-09 15:48:43 +01:00
Wojciech Figat
7f0c73606c Improve naming various GPU resources 2022-12-09 11:27:41 +01:00
Wojtek Figat
df45ac46b1 Optimize various debug views performance 2022-12-03 12:23:39 +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
dbcb333ba9 Fix crash when using material in PostFx global graphics settings (asset loaded before GPU init) 2022-11-24 09:58:46 +01: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
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
Wojtek Figat
3b52914416 Add **Nested Animations** for compositing animation clips 2022-07-31 15:53:09 +02:00
Wojtek Figat
0a1d8f6b3b Fix crash when setting up recursive Material Instances inheritance 2022-07-23 15:28:49 +02:00
Wojtek Figat
fd4af3964d Fix Reroute node in Visual Script impulse flow 2022-07-19 23:06:37 +02:00
Wojciech Figat
6061a0a344 Add support for baking env probes in cooked game 2022-07-18 16:32:50 +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
85f351663b Add Transparent Lighting Modes for material with option to use non-directional shading 2022-07-14 09:22:32 +02:00
Wojtek Figat
2e947ab85a Fixes for large worlds 2022-07-04 20:35:29 +02:00
Wojtek Figat
85fe22d7a7 Fix typos 2022-07-01 17:05:17 +02:00
Wojtek Figat
b40a890d31 More work for large worlds 2022-06-30 22:07:11 +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
134c8b99aa Add relative-to-camera rendering for large worlds 2022-06-21 20:03:13 +02:00
Wojciech Figat
3238861f64 Fix opening material or particle emitter in editor if shader compilation fails 2022-06-20 09:51:34 +02:00
Wojtek Figat
b49e5e9984 Format more engine code 2022-06-14 20:17:00 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojtek Figat
785f8915b7 Merge remote-tracking branch 'origin/gi' into large-worlds
# Conflicts:
#	Source/Engine/Core/Math/Vector3.h
2022-05-21 19:45:13 +02:00
Wojciech Figat
f7e48d9b23 Add shader getter to IMaterial interface 2022-05-12 13:47:19 +02:00
Wojtek Figat
78d6fe6b50 Fix error when loading surface from not yet loaded asset 2022-05-06 18:30:49 +02:00
Wojtek Figat
bc6b70f4f9 Optimize static Visual Script event calling 2022-05-03 21:12:29 +02:00
Wojciech Figat
551459022d Merge remote-tracking branch 'origin/master' into gi
# Conflicts:
#	Source/Editor/Windows/Assets/VisualScriptWindow.cs
2022-05-02 10:38:14 +02:00
Wojtek Figat
eb75a3c2fb Fix foreach loop in Visual Script to continue flow on null array or dictionary 2022-05-01 20:42:42 +02:00
Wojciech Figat
8428f28239 Various improvements for SDF rendering 2022-04-29 17:11:39 +02:00
Wojtek Figat
d76fd634a5 Fix minor issue with Visual Script set parameter node calling flow during debugger value evaluation 2022-04-28 22:45:56 +02:00
Wojtek Figat
158c29e598 Add **Dictionaries to Visual Scripting** 2022-04-27 22:47:54 +02:00
Wojciech Figat
cad9bad950 Merge remote-tracking branch 'origin/master' into gi 2022-04-21 12:57:08 +02:00
Wojciech Figat
5345d1f685 Add events for streamable resources residency changes tracking 2022-04-21 12:37:39 +02:00
Wojciech Figat
c53a463bb1 Refactor HashSet to support custom allocator 2022-04-19 17:14:29 +02:00
Wojciech Figat
997d2a4db9 Fix Model SDF uploading with async task that locks asset file data to prevent release 2022-04-15 10:12:54 +02:00
Wojtek Figat
58491e6d23 Add **Screen Space Reflections for transparent materials** 2022-04-12 22:16:06 +02:00
Wojciech Figat
4c98e0a335 Add IsSingleFrame to RenderView for thumbnails/pre-render views drawing without temporal effects and LOD transitions 2022-04-04 17:11:01 +02:00
Wojciech Figat
a5af0a1c81 Fix game build 2022-03-25 11:42:09 +01:00
Wojciech Figat
f8670a497e Fix crash when loading model SDF on older GPUs (d3d10) 2022-03-25 10:10:23 +01:00
Wojciech Figat
b08d2001fd Add Model SDF generation utilities 2022-03-24 11:32:02 +01:00
Wojciech Figat
18321937e4 Optimize model SDF with 8-bit storage (if possible) 2022-03-22 15:08:38 +01:00