diff --git a/Assets/VRMShaders/GLTF/IO/Runtime/TextureConverter.cs b/Assets/VRMShaders/GLTF/IO/Runtime/TextureConverter.cs index 364516842..e53fdd159 100644 --- a/Assets/VRMShaders/GLTF/IO/Runtime/TextureConverter.cs +++ b/Assets/VRMShaders/GLTF/IO/Runtime/TextureConverter.cs @@ -9,7 +9,6 @@ namespace VRMShaders public static Texture2D CreateEmptyTextureWithSettings(Texture src, ColorSpace dstColorSpace, bool dstNeedsAlpha) { var texFormat = dstNeedsAlpha ? TextureFormat.ARGB32 : TextureFormat.RGB24; - texFormat = TextureFormat.ARGB32; var dst = new Texture2D(src.width, src.height, texFormat, src.HasMipMap(), dstColorSpace == ColorSpace.Linear); dst.name = src.name; dst.anisoLevel = src.anisoLevel;