Commit Graph

39 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 7ea3fb1500 Fix shaders codebase to compile into WGSL 2026-02-24 17:56:14 +01:00
mafiesto4 baf068330c Add Graphics.TestValue general purpose utility for A/B testing features and perf in shaders during development 2026-01-16 12:48:05 +01:00
mafiesto4 e2aaef9b88 Fix shader warning 2025-11-19 08:27:33 -08:00
mafiesto4 2a5898c1de Fix regression from #3342 to use existing time as unscaled to match previous content 2025-09-30 15:45:24 +02:00
mafiesto4 1087bd2445 Fix #3342 to properly place new param in Constant Buffer
#3299
2025-08-14 11:53:25 +02:00
mafiesto4 5e19a9729b Merge branch 'add-scaled-time-node' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-scaled-time-node 2025-08-14 11:37:09 +02:00
mafiesto4 d30ff65800 Fix flipbook regression bug 2025-04-17 17:45:19 +02:00
mafiesto4 e267db7fac Another fix for flipbook to work with all cases
#3381
2025-04-16 10:01:55 +02:00
mafiesto4 9dba7caa88 Another fix for flipbook to work with all cases
#3381
2025-04-16 10:01:23 +02:00
mafiesto4 c30e31bd65 Fix material flipbook X slice calculation
#3381
2025-04-16 08:58:00 +02:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Tryibion 9b6feb9367 Add Scaled Time to Material Time node. 2025-04-07 10:02:20 -05:00
Muzz 7885590593 Merge branch 'Muzz-Triplanar-Features' into 1.10 2025-02-28 14:56:45 +01:00
mafiesto4 a6fb651ff4 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Graphics/Materials/MaterialShader.h
2025-02-18 09:19:59 +01:00
mafiesto4 21f8dab5de Tweak 58090aa6d6 to secure for incorrect includes and usage 2025-02-11 00:33:08 +01:00
mafiesto4 58090aa6d6 Fix triplanar texture mapping when using Large Worlds
#3001
2025-02-11 00:31:37 +01:00
mafiesto4 237ea121be Add vertex colors to skinned meshes 2025-01-11 22:43:15 +01:00
mafiesto4 a1c46d2e6e Add support for up to 4 texture channels when importing meshes
#2667
2025-01-11 22:40:20 +01:00
mafiesto4 792d322818 Missing change for 6f04231b31 2025-01-05 00:17:52 +01:00
mafiesto4 da5570e89f Fix terrain shader compilation regression 2024-09-22 11:28:26 +02: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 21ed4a2371 Fix Flipbook node bug
#2690
2024-09-10 12:13:28 +02:00
mafiesto4 08ef7c93ea Refactor draw calls drawing to use single objects buffer and better materials batching 2024-07-02 00:52:22 +02:00
mafiesto4 516ed3e9a0 Cleanup some rendering code 2024-06-28 21:21:17 +02:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 0709288eac Revert Depth Offset (wrong impl, can be done later) 2023-01-31 14:22:37 +01:00
mafiesto4 a219a3d2eb Add **Depth Offset to materials** 2023-01-29 22:09:51 +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 835a230323 Refactor material shaders to use separate constant buffer (slot 1) for shared per-view constants 2022-11-27 12:06:31 +01:00
mafiesto4 56322005e2 Reformat shaders source code 2022-06-28 14:41:29 +02:00
mafiesto4 70de677266 Fix InstanceOrigin, PerInstanceRandom and LODDitherFactor to not use interpolation between shader stages 2022-05-12 13:30:59 +02:00
mafiesto4 8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
mafiesto4 e0a2904dbf Fix terrain normal mapping issue
#562
2021-06-30 14:13:37 +02:00
mafiesto4 9e6243adcc Refactor material shaders generator to use modular features as extensions 2021-02-04 14:58:01 +01:00
mafiesto4 2a3b6edf50 Refactor material shaders generator to use modular features as extensions 2021-02-04 10:43:04 +01:00
jb-perrier 03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
mafiesto4 6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00