diff --git a/Runtime/Scripts/Material/ShaderGraphMaterialGenerator.cs b/Runtime/Scripts/Material/ShaderGraphMaterialGenerator.cs index 74872057..1e6200d0 100644 --- a/Runtime/Scripts/Material/ShaderGraphMaterialGenerator.cs +++ b/Runtime/Scripts/Material/ShaderGraphMaterialGenerator.cs @@ -477,7 +477,7 @@ protected MetallicShaderFeatures GetMetallicShaderFeatures(Schema.Material gltfM if (gltfMaterial.doubleSided) feature |= MetallicShaderFeatures.DoubleSided; if (!sm.HasValue) { - sm = gltfMaterial.alphaModeEnum != AlphaMode.OPAQUE ? ShaderMode.Blend : ShaderMode.Opaque; + sm = gltfMaterial.alphaModeEnum == AlphaMode.BLEND ? ShaderMode.Blend : ShaderMode.Opaque; } feature |= (MetallicShaderFeatures)sm;