Unity-Technologies / AutoLOD

Automatic LOD generation + scene optimization
https://blogs.unity3d.com/2018/01/12/unity-labs-autolod-experimenting-with-automatic-performance-improvements/
Other
1.81k stars 212 forks source link

AutoLOD generated mesh smoothing, how to disable? #55

Closed DevAkseli closed 4 years ago

DevAkseli commented 5 years ago

Hi, trying to use AutoLOD with lowpoly project, but generating mesh with the default QuadricMeshSimplifier results in smoothed mesh. I spent hours trying to learn the code and trying to pinpoint the exact part where the smoothing feature is done, but couldnt find it.

Removing these files from the QuadricMeshSimplifier script results in sharp mesh, but all the colors of the model are lost. meshSimplifier.UV1 = inputMesh.uv; outputMesh.uv = meshSimplifier.UV1;

Hope that helps to solve the problem!

amirebrahimi commented 5 years ago

Do you have an example model you can provide?

Also, did you try adjusting your smoothing settings in the model importer settings? image

Try grabbing latest, too, which has an update to the MeshSimplifier, which is maintained at https://github.com/Whinarn/UnityMeshSimplifier

amirebrahimi commented 4 years ago

Closing this issue because it has gone stale. Hopefully my last response was helpful.