filmov
tv
Bake Your Animations to Greatly Improve Performance...For Some Use Cases | Unity Tutorial
Показать описание
In this Unity tutorial you will learn how to bake animations as a series of "snapshots" of meshes. These snapshots can be taken at a configurable framerate that suits your game.
It also does not reduce the Draw Calls, as Animation Instancing will do. Instead, this approaches the problem by resolving the "CPU Skinning" taking up a lot of CPU time on the main Unity thread to improve FPS.
Strangely, with my initial attempt, the performance was actually worse than what is implemented here. I didn't have time to dive into that and the performance here was "good enough" for my use case.
💸 Ongoing Sales 💸
📚 Resources
📱 Let's stay connected
----
----
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.
#unitytutorial #tutorialtuesday #gamedev #tutorial #unity #llamacademy #gamedevelopment
Chapters:
00:00 Problem Statement - SkinnedMeshRenderers at Scale.
01:01 A Solution - Precomputed or "Baked" Animations
02:55 Creating Baked Animations with an Editor Script
03:46 Bake Your Animations!
05:23 Animator Considerations when Baking
06:37 Become a Supporter!
07:03 When is this a viable option, and when is it not?
It also does not reduce the Draw Calls, as Animation Instancing will do. Instead, this approaches the problem by resolving the "CPU Skinning" taking up a lot of CPU time on the main Unity thread to improve FPS.
Strangely, with my initial attempt, the performance was actually worse than what is implemented here. I didn't have time to dive into that and the performance here was "good enough" for my use case.
💸 Ongoing Sales 💸
📚 Resources
📱 Let's stay connected
----
----
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.
#unitytutorial #tutorialtuesday #gamedev #tutorial #unity #llamacademy #gamedevelopment
Chapters:
00:00 Problem Statement - SkinnedMeshRenderers at Scale.
01:01 A Solution - Precomputed or "Baked" Animations
02:55 Creating Baked Animations with an Editor Script
03:46 Bake Your Animations!
05:23 Animator Considerations when Baking
06:37 Become a Supporter!
07:03 When is this a viable option, and when is it not?
Комментарии