52 Commits

Author SHA1 Message Date
mafiesto4 bc36168318 Optimize Animated Model rendering with hardware instancing
All models are using the same global buffer for skinned bones which allows to share shader binding for instancing.
Refactor draw call for batching skinned mesh draws.
Remove `SkinnedMeshDrawData` and merge it into `AnimatedModel` internals.
2026-06-15 17:59:41 +02:00
mafiesto4 d697bd7402 Update old API usage
#4080 #4081
2026-05-12 18:40:21 +02:00
mafiesto4 51af51d008 Fix missing OrthoSize property serialization on Camera
#4053
2026-04-15 22:34:10 +02:00
mafiesto4 361fc3ecfb Add stencil buffer usage with object layer information
#3080 #967
2025-10-07 18:07:23 +02:00
mafiesto4 fa97229830 Merge branch 'float_equality' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-float_equality 2025-06-03 17:26:12 +02:00
mafiesto4 8bb5655b2f Fix error when using invalid camera ray 2025-05-16 20:22:52 +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 ac3c4a4b30 Merge remote-tracking branch 'origin/master' 2025-04-22 16:17:53 +02:00
mafiesto4 3c1aca6d46 Fix camera mouse ray error when mouse position is invalid 2025-04-19 10:50:39 +02:00
Ari Vuollet 02c333c720 Use double vector types in camera view matrix calculations 2025-04-19 02:39:23 +03:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
mafiesto4 809fd2653a Fix game viewport size to not include DPI scale (screen-space uses it)
#2976
2025-02-26 20:55:57 +01:00
mafiesto4 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
mafiesto4 e0a488dec1 Fix failed check in Camera::ConvertMouseToRay when result is invalid ray 2024-09-12 12:41:22 +02:00
Tryibion fd30872f5e Add check for entries count. 2024-09-06 20:30:20 -05:00
Tryibion 6eee25e04a Removed decals from effecting editor camera model. 2024-09-06 17:45:04 -05:00
mafiesto4 20456d95e8 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-22 17:33:20 +02:00
mafiesto4 73a596cb2f Add OrthographicSize to Camera for fixed ortho projection size
#1970
2024-08-21 22:35:43 +02:00
mafiesto4 2542adba92 Fix ConvertMouseToRay for orthographic projection
#2748
2024-08-20 16:10:03 +02:00
mafiesto4 ef129a3135 Add frustum culling for editor preview camera mesh 2024-07-02 00:53:03 +02:00
Tryibion e10ee3e55a Force camera model to load in prefabs. 2024-05-16 16:49:56 -05:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 9a21cfd092 Fix transform scaling applying to nested objects when drawing
#1796 #1350
2024-02-20 23:55:06 +01:00
mafiesto4 09f2be907e Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Flax.flaxproj
2023-10-09 12:40:47 +02:00
mafiesto4 2cac149741 Code cleanup for #1377 2023-10-06 15:58:23 +02:00
Wiktor Kocielski d389348260 Add View Layers button & Reset/Disable/Copy/Paste buttons to View Flags/Debug View & Camera RenderFlags/RenderView addition 2023-09-13 12:17:34 +03: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 f60007da83 Add Camera.UnprojectPoint method 2023-05-28 23:20:39 +02:00
mafiesto4 2149995116 Minor Camera class tweaks 2023-05-28 22:57:52 +02:00
mafiesto4 adfe3ad165 Add SortOrder to drawable object types for transparency sorting override 2023-01-26 18:37:40 +01: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 9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
mafiesto4 76c1045444 Code cleanup after #823 2022-11-23 19:18:30 +01:00
mafiesto4 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
mafiesto4 787d788055 Fix Camera preview model draw regression 2022-06-23 23:14:33 +02:00
mafiesto4 134c8b99aa Add relative-to-camera rendering for large worlds 2022-06-21 20:03:13 +02:00
mafiesto4 a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
mafiesto4 a7e512bd50 Add GlobalSurfaceAtlas draw pass 2022-04-27 16:41:40 +02:00
mafiesto4 4524edb899 Fix static model registering for rendering after streaming in even if disabled 2022-04-22 18:33:22 +02:00
mafiesto4 3fe1e2c763 Refactor SceneRendering to simplify actors impl of drawing flow at high level 2022-02-22 17:06:19 +01:00
mafiesto4 8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
mafiesto4 0e75dba142 Optimize C++ compilation time 2021-04-30 16:27:57 +02:00
mafiesto4 5ab554f61c Fix using Camera refs 2021-04-12 12:57:15 +02:00
stefnotch 97ab226d7e Update Camera.ProjectPoint documentation to be clearer 2021-03-15 20:18:13 +01:00
mafiesto4 09be8994e9 Add Render Layers to Camera and Render View for masking objects during rendering 2021-02-19 17:26:41 +01:00