From e3d709ccd82c35ee53f9fa51cbf7e4ccb56d8112 Mon Sep 17 00:00:00 2001 From: adamdev | Not Enough Photons Date: Tue, 3 Oct 2023 01:15:20 +0100 Subject: [PATCH] Texture stray pixel issue fixed --- src/WAD/WADFile.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/WAD/WADFile.cs b/src/WAD/WADFile.cs index 50c72ec..d4babd1 100644 --- a/src/WAD/WADFile.cs +++ b/src/WAD/WADFile.cs @@ -319,6 +319,7 @@ public void ReadPatch(WADIndexEntry entry) Texture2D tex = new Texture2D(width, height, TextureFormat.RGBA32, false); tex.filterMode = FilterMode.Point; + tex.wrapMode = TextureWrapMode.Clamp; Color32[] colors = new Color32[width * height];