diff --git a/asset-bundle-converter/Assets/AssetBundleConverter/Wrappers/Implementations/Default/AssetBundleConverterMaterialGenerator.cs b/asset-bundle-converter/Assets/AssetBundleConverter/Wrappers/Implementations/Default/AssetBundleConverterMaterialGenerator.cs index c4f20740..706f520e 100644 --- a/asset-bundle-converter/Assets/AssetBundleConverter/Wrappers/Implementations/Default/AssetBundleConverterMaterialGenerator.cs +++ b/asset-bundle-converter/Assets/AssetBundleConverter/Wrappers/Implementations/Default/AssetBundleConverterMaterialGenerator.cs @@ -26,15 +26,8 @@ public override Material GenerateMaterial(int materialIndex, GLTFast.Schema.Mate if (useSceneShader) { - foreach (var keywordName in mat.shaderKeywords) - { - mat.DisableKeyword(keywordName); - } - // Enable Forward+ and soft shadows mat.EnableKeyword("_FORWARD_PLUS"); - mat.EnableKeyword("_NORMALMAP"); - mat.EnableKeyword("_EMISSION"); mat.EnableKeyword("_ADDITIONAL_LIGHT_SHADOWS"); mat.EnableKeyword("_MAIN_LIGHT_SHADOWS_CASCADE"); mat.EnableKeyword("_SHADOWS_SOFT");