Fix texture wrap mode.
This commit is contained in:
@@ -157,6 +157,7 @@ namespace Cryville.Crtr {
|
|||||||
#if UNITY_5_4_OR_NEWER
|
#if UNITY_5_4_OR_NEWER
|
||||||
if (texHandler.isDone) {
|
if (texHandler.isDone) {
|
||||||
var tex = texHandler.texture;
|
var tex = texHandler.texture;
|
||||||
|
tex.wrapMode = TextureWrapMode.Clamp;
|
||||||
texs.Add(name, tex);
|
texs.Add(name, tex);
|
||||||
Logger.Log("main", 0, "Load/MainThread", "Loaded texture {0} ({1} bytes)", name, texLoader.downloadedBytes);
|
Logger.Log("main", 0, "Load/MainThread", "Loaded texture {0} ({1} bytes)", name, texLoader.downloadedBytes);
|
||||||
texLoader.Dispose();
|
texLoader.Dispose();
|
||||||
|
Reference in New Issue
Block a user