Commit Graph

48 Commits

Author SHA1 Message Date
luchu1993 9943959e76 Fix model material access with empty entries
Allow model instance material APIs to fall back to asset material slots when instance entries have not been initialized yet. Lazily initialize entries before writing material overrides so imported prefab StaticModel instances can call GetMaterial and SetMaterial without assertion failures.\n\nFixes #3801.
2026-06-20 10:22:51 +08:00
mafiesto4 9ce6026192 Optimize model actors entries serialization 2026-06-02 14:07:28 +02:00
mafiesto4 633f2fa901 Fix prefab preview to wait for the assets streaming 2026-04-20 12:49:43 +02:00
mafiesto4 361fc3ecfb Add stencil buffer usage with object layer information
#3080 #967
2025-10-07 18:07:23 +02:00
Ari Vuollet f09fd7ad34 Use exact value comparison in caching related functions
(cherry picked from commit 9d7c6b26422e127719836944d8d473910190e7d4)
2025-05-02 14:19:55 +03:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
mafiesto4 8a7ceef288 Add content deprecation system that auto-saves assets in Editor that use old data format 2025-01-20 23:46:49 +01:00
mafiesto4 57628c3d5f Refactor Bezier splines drawing and editing to property evaluate value and match curve evaluation
#3051
2024-12-02 19:10:28 +01:00
mafiesto4 2edb9cc4d8 Fix compilation warnings when using 64-bit coords 2024-05-08 23:24:23 +02:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 9f97787099 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-20 16:02:48 +02:00
mafiesto4 8cd8ae93c3 Add ObjectRadius to DrawCall to properly cull local lights and env probes in Forward Shading 2023-09-20 15:01:02 +02:00
mafiesto4 e39a56fc4e Merge remote-tracking branch 'origin/master' into 1.7 2023-07-18 11:47:39 +02:00
mafiesto4 338499536f Add ModelInstanceActor::GetMaterialSlots 2023-07-18 10:55:00 +02:00
mafiesto4 3141b4fb04 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Engine/Level/Actors/SplineModel.cpp
#	Source/Engine/Level/Actors/SplineModel.h
2023-07-14 14:10:21 +02:00
mafiesto4 a6924d37c1 Add ModelInstanceActor::GetMaterial to get actual material used to render certain entries 2023-07-14 11:58:51 +02:00
mafiesto4 99ee0b1bfe Add MeshDeformation utility for generic meshes vertices morphing (eg. via Blend Shapes or Cloth) 2023-07-03 09:49:23 +02: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 98c29c4a4e Optimize compilation time 2022-12-03 10:42:58 +01: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 9c7da16c1a Add multi-threaded scene rendering with Job System 2022-11-06 20:44:43 +01:00
mafiesto4 eb52d333ae Refactor scene rendering to use batched culling for main view and shadow projections 2022-10-28 17:53:21 +02:00
mafiesto4 b40a890d31 More work for large worlds 2022-06-30 22:07:11 +02:00
mafiesto4 134c8b99aa Add relative-to-camera rendering for large worlds 2022-06-21 20:03:13 +02:00
mafiesto4 d4d27b88f0 Format engine codebase with ReSharper 2022-06-14 19:05:04 +02:00
mafiesto4 a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
mafiesto4 5465652466 Add terrain rendering support for Global Surface Atlas 2022-04-29 14:05:03 +02:00
mafiesto4 a7e512bd50 Add GlobalSurfaceAtlas draw pass 2022-04-27 16:41:40 +02:00
mafiesto4 8cca7f884b Add **Global Sign Distance Field** rendering (work in progress) 2022-03-18 16:18:00 +01:00
mafiesto4 3fe1e2c763 Refactor SceneRendering to simplify actors impl of drawing flow at high level 2022-02-22 17:06:19 +01:00
mafiesto4 8082f5f909 Minor fixes and changes 2022-02-21 20:14:46 +01:00
mafiesto4 8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
mafiesto4 1062c0b3a0 Fix missing Spline Model bounds refresh 2021-07-15 11:45:44 +02:00
mafiesto4 e0b5558399 Fix spline model visibility after enable if was disabled on start 2021-06-08 14:13:26 +02:00
mafiesto4 0e75dba142 Optimize C++ compilation time 2021-04-30 16:27:57 +02:00
stefnotch 5b1c5824c8 Fix #408 by being more precise in some places
IEEE floating point numbers are fun ™️
2021-04-10 09:13:19 +02:00
mafiesto4 8ef8b89fd5 Add constructor to BoundingBox for single point empty box construction 2021-03-18 21:50:05 +01:00
mafiesto4 0841f5b479 Refactor Pre Rotation from spline model and spline collider into Pre Transform for more control 2021-02-15 22:09:05 +01:00
mafiesto4 81be73ad82 Fix spline model not drawing when using invalid material 2021-02-15 22:08:37 +01:00
mafiesto4 c9ea812a24 Optimize DrawCall to pack indirect draw arg and graphics draw data with union 2021-02-15 11:52:06 +01:00
mafiesto4 5a23df6478 Fix missing saving Pre Rotation 2021-02-12 10:34:50 +01:00
mafiesto4 04b650cbc3 Add Pre Rotation to Spline Model and Spline Collider 2021-02-11 16:48:10 +01:00
mafiesto4 5cb2322270 Add default Deformable material for splines 2021-02-10 11:37:34 +01:00
mafiesto4 d4f959b681 Add support for Deformable material preview 2021-02-09 16:46:10 +01:00
mafiesto4 311dad7b82 Add Spline Model 2021-02-09 16:04:47 +01:00