This commit is contained in:
JohnCorby 2024-10-31 01:32:40 -07:00
parent 0583b22788
commit 732e981a8b

View File

@ -144,6 +144,7 @@ namespace NewHorizons.Utility.Files
// (it also makes vanilla reel atlas match vanilla reels) // (it also makes vanilla reel atlas match vanilla reels)
// however, not doing linear makes it match more closely to the source image, which is more desireable // however, not doing linear makes it match more closely to the source image, which is more desireable
// change this back to true if someone complains // change this back to true if someone complains
// see https://github.com/Outer-Wilds-New-Horizons/new-horizons/pull/986#issuecomment-2449223761 for comparisons
var newTexture = new Texture2D(texture.width, texture.height, texture.format, texture.mipmapCount != 1, linear: false); var newTexture = new Texture2D(texture.width, texture.height, texture.format, texture.mipmapCount != 1, linear: false);
newTexture.name = key; newTexture.name = key;
newTexture.SetPixels(pixels); newTexture.SetPixels(pixels);