107 Commits

Author SHA1 Message Date
Wojtek Figat
3e344e789a Optimize terrain debug shape drawing by caching lines into a vertex buffer
#2841
2024-12-09 18:26:53 +01:00
Wojtek Figat
5f19538455 Add UpdateFlags to ISceneRenderingListener::UpdateActor for more contextual control overdirtying actors state in renderer data
Fixes issue of static shadow maps not refreshing when changing static flags of the model.
2024-09-29 22:03:46 +02:00
Wojtek Figat
eb825f516e Fix terrain splatmap cache clearng 2024-09-22 10:40:10 +02:00
Wojtek Figat
9daddccbed Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Editor/Modules/ContentDatabaseModule.cs
#	Source/Editor/Surface/SurfaceUtils.cs
#	Source/Editor/Windows/Assets/MaterialInstanceWindow.cs
#	Source/Engine/Foliage/Foliage.cpp
#	Source/Engine/Graphics/Models/MeshBase.h
#	Source/Engine/Tools/MaterialGenerator/MaterialGenerator.Textures.cpp
2024-09-12 13:38:20 +02:00
Wojtek Figat
4087e9c291 Add deprecated property to fix compile in old projects
42b4443e14
2024-09-12 12:40:29 +02:00
Wojtek Figat
31bce25c37 Add deprecated property to fix compile in old projects
42b4443e14
2024-09-12 12:40:13 +02:00
Wojtek Figat
545e59aba5 Fix lightmap uvs density view to handle scale in lightmap and outline non-static objects
#2080
2024-09-09 05:59:17 +02:00
Wojtek Figat
a18565fd61 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-23 00:05:00 +02:00
Wojtek Figat
e5f0e05d43 Fix terrain rendering to use the same LOD for main view and shadow passes
#2555 #2256
2024-08-23 00:00:42 +02:00
Wojtek Figat
fc66738dca Add automatic heightmap files removal on Editor shutdown for deleted terrains
#1902
2024-08-22 23:29:42 +02:00
Wojtek Figat
23f60da40d Fix various code issues found using PVS-Studio 2024-08-22 20:24:52 +02:00
Wojtek Figat
21b4c7c916 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-16 14:52:57 +02:00
Wojtek Figat
b551610604 Merge branch 'isnormalized_checks' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-isnormalized_checks 2024-08-15 15:21:58 +02:00
Chandler Cox
77729bc340 Remove default value comment from terrain LOD. 2024-08-12 20:46:29 -05:00
f759f94cfa Use CHECK_DEBUG over ASSERT in normalized direction checks 2024-08-07 21:18:09 +03:00
Wojtek Figat
e44e44d317 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-05 11:08:51 +02:00
55d55212c3 Add assertions for checking against un-normalized direction vectors 2024-07-20 15:34:11 +03:00
Wojtek Figat
9518ce1d0a Fix physics error when disabling terrain 2024-07-19 00:30:21 +02:00
Wojtek Figat
516ed3e9a0 Cleanup some rendering code 2024-06-28 21:21:17 +02:00
Wojtek Figat
44006dd533 Various code improvements 2024-05-09 18:59:09 +02:00
Wojtek Figat
f6aabf2d14 Optimize navmesh building and reduce scene lock time 2024-05-09 18:58:47 +02:00
Wojtek Figat
2edb9cc4d8 Fix compilation warnings when using 64-bit coords 2024-05-08 23:24:23 +02:00
Wojtek Figat
db8adf7d96 Fix creating virtual terrain collision of actor that is not in a game 2024-05-05 22:50:12 +02:00
Wojtek Figat
4fbe210730 Fix heightfield not saved when editing splatmap of terrain with physical materials in use
#2262
2024-04-22 23:20:44 +02:00
Wojtek Figat
a549733811 Merge branch 'physicsscene_change_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-physicsscene_change_fix 2024-03-14 17:32:00 +01:00
Wojtek Figat
6d792f1f74 Fix critical regression in terrain heightmap data upgrade 2024-03-12 17:59:41 +01:00
92c109c003 Fix PhysicsScene change not working in physics actors 2024-03-10 00:01:39 +02:00
Wojtek Figat
8964b8907c Fix to 5ec737ef80 2024-03-05 11:10:37 +01:00
Wojtek Figat
5ec737ef80 Fix loading old terrain heightmaps when using
#2262
2024-03-04 22:46:11 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
0035c347f4 Add safety check for splatmap sampling 2024-02-19 18:11:57 +01:00
Wojtek Figat
9e269b8e58 Merge branch 'terrainscripting' of https://github.com/Withaust/FlaxEngine into Withaust-terrainscripting
# Conflicts:
#	Source/Engine/Terrain/Terrain.h
#	Source/Engine/Terrain/TerrainPatch.h
2024-02-16 23:49:33 +01:00
Wojtek Figat
b931020e5c Enable terrain updating in cooked build
#2068
2024-02-16 23:32:46 +01:00
Wojtek Figat
c3faabaa0f Fix game build 2024-02-16 23:29:01 +01:00
Wojtek Figat
12f7370caf Fix missing forward type decl 2024-02-16 23:16:18 +01:00
Wojtek Figat
85f2910718 Move collider shape raycasting utilities to the PhysicsColliderActor class 2024-02-16 17:19:51 +01:00
Wojtek Figat
42b4443e14 Add support for multiple physical materials in terrain - one for each painted layer
#1112 #2159
2024-02-16 17:11:40 +01:00
Wojtek Figat
7538296775 Refactor PhysicalMaterial usage to utilize JsonAssetReference struct 2024-02-15 11:45:50 +01:00
Wojtek Figat
6d5d615894 Fix crash when drawing terrain without cached neighbor chunks
#2087
2023-12-16 16:38:16 +01:00
Wiktor Kocielski
9d1b287cd7 Terrain-related classes exposure to scripting API 2023-10-24 05:17:16 +03:00
Wojtek Figat
552641c51a Fix potential crashes if uses calls terrain tools with invalid params 2023-10-08 17:02:26 +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
Wiktor Kocielski
a3063258e5 Add ability to clean patch caches 2023-08-15 12:35:32 +03:00
Wojtek Figat
7140c4a2d8 Merge remote-tracking branch 'origin/master' into 1.6 2023-06-11 21:38:20 +02:00
Wojtek Figat
d798b10d4c Remove unlogical PrefabManager::IsNotCreatingPrefab (use IsCreatingPrefab flag) 2023-06-09 22:49:19 +02:00
Wojtek Figat
a26d0d03eb Upgrade to PhysX 5.1.3 2023-03-03 17:13:46 +01:00
Wojtek Figat
fb06fa2c8b Add optional build without PhysX 2023-02-27 23:01:10 +01:00
Wojtek Figat
752fa64cc3 Add support for 32 bit indices for the terrain chunk geometry 2023-02-14 13:14:04 +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