Lattice Modifier for Unity
Harry Heath
$15.00
Date |
Price |
---|---|
Date |
Price($) |
09/27(2024) |
15.0 |
11/22(2024) |
15.0 |
Jump AssetStore
Adds a Lattice Modifier to Unity, allowing you to deform both static and skinned objects to create otherwise advanced animations with ease.The Lattice Modifier is implemented using the player loop, not the rendering system, so is compatible with any render pipeline including custom ones.📖 Documentation⭐ Key FeaturesEasy to UseCreate a Lattice and add a modifier to your model. Move the points of the Lattice around to deform your mesh.AnimatableLattices can be keyframed and controlled with the animation timeline.ScriptableLattices can be controlled with scripts for more advanced effects and interactivity.Static and Skinned MeshesSupports deforming both static and skinned meshes. Lattices can be applied before or after skinning.PerformantUses compute shaders for super-fast performance on par with GPU skinning and vertex shaders; far faster than editing the meshes in C#.Samples ProvidedIncludes demo animations, shaders and scripts.👾 Additional FeaturesCustom EditorFor intuitive editing of lattices, it supports a wide number of Unity features, including move, scale, rotate, multiselect and undo & redo.Works with Existing MaterialsUse any existing materials, no custom shaders needed.Squish and StretchCan access the amount of squish and stretch in your own shaders allowing you to create even more advanced effects!Per Lattice SettingsCan toggle between high quality and fast sampling methods to improve performance if needed, and between global and local/restrained deformation.Source CodeSource code is included.LimitationsDeformed objects do not support instancing for the same reason as skinning; each mesh has its own unique vertex buffer.Provided samples have been made with the Universal Render Pipeline. Materials will need swapping to work within other render pipelines.GPU/compute skinning must be enabled in the project settings for Skinned Lattice Modifiers to work.Build platform must support compute shaders. Unsupported platforms include:WebGLSupported VersionsSupports any render pipeline.Developed in Unity 2021.3.5 and tested with Unity 6000.0.10.Should work in versions between, please let me know if it does not work as expected on a certain version.