UE5 Trilinear Mesh Interpolation
A downloadable Plugin
This UE5 plugin allows you to squeeze, stretch, and deform any mesh--essentially by pulling on the corners of the mesh's bounding box. Making a game with levels built out of square- or cube-shaped tiles but want it to look a little more organic? Or do you want to be able to re-use your square tiles on a grid with non-square cells? Working with modular assets from different creators that just don't quite align to the same grid? Trilinear interpolation can help you bend and twist your mesh to fit.
This can also be used to add some life to general static meshes in your environment, easily squashing and stretching them by animating the parameters to the interpolation. Need something to squeeze through a keyhole or get flattened by a hammer?
The effect comes in two flavors: a material-based solution and a geometry script solution. Both approaches can be applied to any kind of mesh.
The material-based approach is good for anything which is using the effect cosmetically or in situations where you want to have a lot of objects all constantly updating their deformations at run-time. For example, to make grass sway in the wind or have something wobble and jiggle when the player bumps into it. The geometry script approach allows for (optionally) not only deforming the visual mesh but the collision mesh of an object, as well, so a character can walk on a deformed surface or objects can get slowly "crushed" as the player hits them with the collision meshes adjusting to match.
This is a "lattice" or "cage" based deformation method. By controlling the eight corners of the bounding box of your mesh, you can bend and twist it into a wide variety of new configurations without the complexity of dealing with the mesh's vertices directly.
In-editor tools are provided to make manipulating the lattice by hand as easy as grabbing one side of your object and pulling, rotating or scaling it.
Combined with the geometry script support for updating collision meshes this also gives you a powerful level design tool for getting the most out of your existing meshes by twisting and stretching them into new variants. These only need to be updated on-demand when the lattice is modified, so if they remain unchanged they don't add any additional overhead at run-time.
Full support for all features is available both to Blueprints and C++, no restrictions no matter your workflow!
Supports UE 5.2 - 5.6
See the complete API Documentation and examples here
Updated | 20 hours ago |
Published | 28 days ago |
Status | Released |
Category | Tool |
Author | noir |
Tags | plugin, Unreal Engine |
Purchase
In order to download this Plugin you must purchase it at or above the minimum price of $14 USD. You will get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.