Merge branch 'default-not-sloppy' of https://github.com/Tryibion/FlaxEngine into Tryibion-default-not-sloppy
This commit is contained in:
@@ -249,10 +249,10 @@ public:
|
||||
float TriangleReduction = 0.5f;
|
||||
// Whether to do a sloppy mesh optimization. This is faster but does not follow the topology of the original mesh.
|
||||
API_FIELD(Attributes="EditorOrder(1140), EditorDisplay(\"Level Of Detail\"), VisibleIf(nameof(ShowGeometry))")
|
||||
bool SloppyOptimization = true;
|
||||
bool SloppyOptimization = false;
|
||||
// Only used if Sloppy is false. Target error is an approximate measure of the deviation from the original mesh using distance normalized to [0..1] range (e.g. 1e-2f means that simplifier will try to maintain the error to be below 1% of the mesh extents).
|
||||
API_FIELD(Attributes="EditorOrder(1150), EditorDisplay(\"Level Of Detail\"), VisibleIf(nameof(SloppyOptimization), true), Limit(0.01f, 1, 0.001f)")
|
||||
float LODTargetError = 0.1f;
|
||||
float LODTargetError = 0.05f;
|
||||
|
||||
public: // Materials
|
||||
|
||||
|
||||
Reference in New Issue
Block a user