Commit Graph

164 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
eed2cdfe04 Progress on dotnet7 runtime hosting with mono 2023-03-22 17:59:46 +01:00
Wojtek Figat
31411e334b Fix AnimatedModel bounds calculations 2023-03-03 17:44:34 +01:00
Chandler Cox
eab5ee93b9 Add ragdoll to toolbox 2023-02-22 17:19:28 -06:00
Wojtek Figat
a70234c9b6 Cleanup comments 2023-02-13 22:45:44 +01:00
Wojtek Figat
a0c6add732 Add ViewFlags::Sky for conditional sky/skybox rendering 2023-01-31 15:58:02 +01:00
Wojtek Figat
a214c14a4d Add Sort Order to animated models too 2023-01-28 17:03:18 +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
Wojtek Figat
98c29c4a4e Optimize compilation time 2022-12-03 10:42:58 +01:00
Wojtek Figat
8e52e2fb10 Merge branch 'master' into 1.5 2022-11-27 12:11:50 +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
76c1045444 Code cleanup after #823 2022-11-23 19:18:30 +01:00
Wojtek Figat
93c0dd704e Merge branch 'master' into 1.5
# Conflicts:
#	Source/Engine/Serialization/Stream.cpp
2022-11-21 15:51:57 +01:00
Wojtek Figat
16ebc72099 Fix rendering of custom actors lists in Editor viewports 2022-11-16 09:57:17 +01:00
Wojtek Figat
3b4d91924f Add draw call sorting keys generation during draw calls collection (async) 2022-11-16 09:20:56 +01:00
Chandler Cox
de6cd88870 Changed names of a couple base types to match before change 2022-11-11 17:08:07 -06:00
Chandler Cox
4515844219 changed how the actor toolbox is created. Allows fo user to enter their own tabs and actors with an attribute 2022-11-11 16:37:45 -06:00
Wojtek Figat
e98621b887 Code style fix
#814
2022-11-06 23:05:36 +01:00
Wojtek Figat
9c7da16c1a Add multi-threaded scene rendering with Job System 2022-11-06 20:44:43 +01:00
Wojtek Figat
b2a9ee495a Optimize PrevWorld updating during scene rendering 2022-11-03 00:08:30 +01:00
Chandler Cox
1af0188a3c changed how actor context menus are created. 2022-10-31 19:18:43 -05:00
Wojtek Figat
a945e2c2a5 Fix GlobalSDF and GlobalSurfaceAtlas drawing if disabled by user 2022-11-01 01:01:22 +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
e217d5e79b Refactor scene rendering to separate drawable actors 2022-10-28 17:53:21 +02:00
Wojtek Figat
7a969b5d7b Code style fix
#760
2022-10-12 19:07:48 +02:00
Ruan Lucas
93dc57c08f remove unused include 2022-10-10 23:10:25 -04:00
Ruan Lucas
67c963f60d Optimization Method 2022-10-10 22:43:00 -04:00
Ruan Lucas
0a91b8b360 fix: isPointOnView doesn't work for long distance positions 2022-10-03 18:51:27 -04:00
Ruan Lucas
61747bef85 change method name 2022-10-02 00:16:25 -04:00
Ruan Lucas
6af6649f70 implement method to check if world position is within camera view 2022-10-02 00:02:56 -04:00
Wojtek Figat
d712a83c69 Fix invisible static model if model is loaded but not yet streamed 2022-08-31 19:40:13 +02:00
Wojciech Figat
ce1465ae98 Fix crash when reloading game scripts in Editor with Anim Graph that contains game structs as params 2022-08-05 11:27:37 +02:00
Wojtek Figat
d47b452808 Fix check if unsetting material slot 2022-07-29 16:58:35 +02:00
Wojtek Figat
ff1fba403d Various fixes to allow compiling negine with custom build configurations 2022-07-26 23:10:01 +02:00
Wojciech Figat
da616fc578 Change spotlight cone limits 2022-07-26 11:41:56 +02:00
Wojtek Figat
8d6fa34108 Add waiting for model to be loaded in SetMaterial 2022-07-23 15:33:04 +02:00
Wojciech Figat
ea54505c6d Fix Directional Light color alpha in Sky atmosphere color 2022-07-19 13:15:54 +02:00
Wojciech Figat
6061a0a344 Add support for baking env probes in cooked game 2022-07-18 16:32:50 +02:00
Wojciech Figat
60f868a08b Add real-time environment probes support 2022-07-18 14:50:41 +02:00
Wojtek Figat
3239150a61 Refactor scene objects initialization to call OnAwake before all OnStart
#520
2022-07-17 17:05:59 +02:00
Wojciech Figat
a8579cadcc Move DefaultProbeResolution from Graphics to GraphicsSettings only (not runtime option)
#728
2022-07-14 15:37:54 +02:00
Wojciech Figat
e210e58644 Merge branch 'master' of https://github.com/whocares77/FlaxEngine into whocares77-master 2022-07-14 14:49:04 +02:00
Wojtek Figat
8da4e546da Fix env probes far from origin 2022-07-04 20:22:26 +02:00
Wojtek Figat
33513834df Add support for Large Worlds in more engine systems 2022-07-02 20:07:04 +02:00
Wojtek Figat
b40a890d31 More work for large worlds 2022-06-30 22:07:11 +02:00