diff --git a/Assets/Scripts/Core/DataLoader/DxtTextureLoader.cs b/Assets/Scripts/Core/DataLoader/DxtTextureLoader.cs index 1959a935..bc567455 100644 --- a/Assets/Scripts/Core/DataLoader/DxtTextureLoader.cs +++ b/Assets/Scripts/Core/DataLoader/DxtTextureLoader.cs @@ -84,7 +84,6 @@ namespace Core.DataLoader Texture2D texture = new Texture2D(_width, _height, _format, mipChain: false); texture.LoadRawTextureData(_rawData); texture.Apply(); - texture.alphaIsTransparency = true; return texture; } } diff --git a/Assets/Scripts/Core/DataLoader/TgaTextureLoader.cs b/Assets/Scripts/Core/DataLoader/TgaTextureLoader.cs index bc138303..382925c2 100644 --- a/Assets/Scripts/Core/DataLoader/TgaTextureLoader.cs +++ b/Assets/Scripts/Core/DataLoader/TgaTextureLoader.cs @@ -77,7 +77,6 @@ namespace Core.DataLoader var texture = new Texture2D(_width, _height, TextureFormat.RGBA32, mipChain: false); texture.SetPixels32(_pixels); texture.Apply(); - texture.alphaIsTransparency = true; return texture; } } diff --git a/Assets/Scripts/Core/DataReader/Bmp/BmpLoader.cs b/Assets/Scripts/Core/DataReader/Bmp/BmpLoader.cs index f09ff642..d70c940a 100644 --- a/Assets/Scripts/Core/DataReader/Bmp/BmpLoader.cs +++ b/Assets/Scripts/Core/DataReader/Bmp/BmpLoader.cs @@ -121,9 +121,6 @@ namespace Core.DataReader.Bmp texture.SetPixels32(imageData); texture.Apply(); - - texture.alphaIsTransparency = true; - return texture; } diff --git a/Assets/Scripts/Pal3/Data/GameResourceProvider.cs b/Assets/Scripts/Pal3/Data/GameResourceProvider.cs index 5a8a46a1..e5472e45 100644 --- a/Assets/Scripts/Pal3/Data/GameResourceProvider.cs +++ b/Assets/Scripts/Pal3/Data/GameResourceProvider.cs @@ -512,7 +512,6 @@ namespace Pal3.Data ITextureResourceProvider textureProvider = GetTextureResourceProvider(cursorSpriteRelativePath); Texture2D cursorTexture = textureProvider.GetTexture($"jt.tga"); - cursorTexture.alphaIsTransparency = true; return cursorTexture; }