From 6efbfbe379e4cecba3d0f5cddf95a0aa7f3ca151 Mon Sep 17 00:00:00 2001 From: "K. S. Ernest (iFire) Lee" Date: Mon, 7 Jun 2021 00:17:57 -0700 Subject: [PATCH] Freeze V-Sekai settings. --- src/FBX2glTF.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/FBX2glTF.h b/src/FBX2glTF.h index 28c6640..98d8a87 100644 --- a/src/FBX2glTF.h +++ b/src/FBX2glTF.h @@ -102,12 +102,12 @@ struct GltfOptions { } draco; /** Whether to include FBX User Properties as 'extras' metadata in glTF nodes. */ - bool enableUserProperties{false}; + bool enableUserProperties{true}; /** Whether to use KHR_materials_unlit to extend materials definitions. */ bool useKHRMatUnlit{false}; /** Whether to populate the pbrMetallicRoughness substruct in materials. */ - bool usePBRMetRough{false}; + bool usePBRMetRough{true}; /** Whether to include lights through the KHR_punctual_lights extension. */ bool useKHRLightsPunctual{true}; @@ -119,13 +119,13 @@ struct GltfOptions { /** Whether to normalized skinning weights. */ bool normalizeSkinningWeights { true }; /** Maximum number of bone influences per vertex. */ - int maxSkinningWeights { 4 }; + int maxSkinningWeights { 8 }; /** When to compute vertex normals from geometry. */ ComputeNormalsOption computeNormals = ComputeNormalsOption::BROKEN; /** When to use 32-bit indices. */ UseLongIndicesOptions useLongIndices = UseLongIndicesOptions::AUTO; /** Select baked animation framerate. */ - AnimationFramerateOptions animationFramerate = AnimationFramerateOptions::BAKE24; + AnimationFramerateOptions animationFramerate = AnimationFramerateOptions::BAKE30; /** Temporary directory used by FBX SDK. */ std::string fbxTempDir;