Commit Graph

115 Commits

Author SHA1 Message Date
Wojtek Figat
fa97229830 Merge branch 'float_equality' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-float_equality 2025-06-03 17:26:12 +02:00
Wojtek Figat
0f3044ae72 Optimize debug drawing of terrain shape in Physics Colliders view mode
#3469
2025-05-31 23:27:51 +02:00
f09fd7ad34 Use exact value comparison in caching related functions
(cherry picked from commit 9d7c6b26422e127719836944d8d473910190e7d4)
2025-05-02 14:19:55 +03:00
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Wojtek Figat
5bdbbb6d38 Merge remote-tracking branch 'origin/master' into 1.10 2025-03-07 23:41:02 +01:00
Wojtek Figat
3200fc1570 Fix new terrain debug drawing of collision lines
#3227
2025-03-03 12:03:38 +01:00
Wojtek Figat
8a7ceef288 Add content deprecation system that auto-saves assets in Editor that use old data format 2025-01-20 23:46:49 +01:00
Wojtek Figat
b3f37ca041 Refactor Vertex Shader input vertex layout to use GPUVertexLayout defined on Vertex Buffer rather than Vertex Shader
#3044 #2667
2024-12-15 22:10:45 +01:00
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