Pretty simple, I think, just can’t figure out how to do it. If I have a Mesh object in a C# script, is there any way to reduce the mesh vertices count?
PS: Random topic assigned to this question because for some reason it was the only one available.
Pretty simple, I think, just can’t figure out how to do it. If I have a Mesh object in a C# script, is there any way to reduce the mesh vertices count?
PS: Random topic assigned to this question because for some reason it was the only one available.
There isn’t in the Unity API. There is a built-in LOD system though which works on pre-made LOD meshes. What you need is a tool like Simplygon to generate them. There are other tools to achieve this in the Asset Store too. If you decide to roll your own polygon reduction system, do a search on keywords like lod generation, mesh reduction, mesh decimation etc.