RMS - Extremely Fast Runtime Mesh Simplifier
Thank you for purchasing Runtime Mesh Simplifier! For any questions, don’t hesitate to contact us at: help@leastsquares.io
Please consider rating the package in your asset downloads or leave a review on the asset page. This will help the growth of this asset.
Getting Started
Setup
The asset contains 2 main scripts which allow you to configure its usage. These are:
MeshFilterSimplifier.cs
: This script should be added to any gameobjects with static meshes that need to be simplified. These gameobjects need to have a mesh filter component.SkinnedMeshSimplifier.cs
: This script should be added to any gameobjects with skinned meshes that need to be simplified. These gameobjects need to have a skinned mesh renderer component.
MeshFilterSimplifier.cs Script Reference
Property | Type | Default Value | Description |
---|---|---|---|
Target Quality | Float | 0.5 | Target quality to use for the decimation. A 0.5 value indicates to decimate the 1 mesh into half the indices. |
Target Error | Float | 0.01 | The target error the algorithm will try to maintain. A bigger error means better decimation at the cost of more topology errors and vice-versa. |
Smooth | Boolean | False | When decimated the mesh is recreated. This value specifies if the mesh should be “smoothed out” or remain flat shaded. |
Detect Changes | Boolean | True | A boolean value that indicates if the script should watch for changes made in the parameters in order to auto-decimate. |
Mesh Components | Array of MeshFilter | [] | MeshFilter components that will be affected by the script. |
SkinnedMeshSimplifier.cs Script Reference
Property | Type | Default Value | Description |
---|---|---|---|
Target Quality | Float | 1 | Target quality to use for the decimation. A 0.5 value indicates to decimate the mesh into half the indices. |
Target Error | Float | 0.01 | The target error the algorithm will try to maintain. A bigger error means better decimation at the cost of more topology errors and vice-versa. |
Smooth | Boolean | False | When decimated the mesh is recreated. This value specifies if the mesh should be “smoothed out” or remain flat shaded. |
Detect Changes | Boolean | True | A boolean value that indicates if the script should watch for changes made in the parameters in order to auto-decimate. |
Mesh Components | Array of SkinnedMeshRenderer | [] | SkinnedMeshRenderer components that will be affected by the script. |
About us
We are a small company focused on building tools for game developers. Send us an email to careers@leastsquares.io if interested in working with us. For any other inquiries, feel free to contact us at hello@leastsquares.io or contact us on the discord
Sign up to our newsletter.
Want to receive news about discounts, new products and updates?