Skip to content

Commit

Permalink
fix: Changed the tileset importer to use the filter from the original…
Browse files Browse the repository at this point in the history
… texture so that it's not always point filter, to potentially look better for high resolution textures
  • Loading branch information
Cammin committed Sep 4, 2024
1 parent cce65eb commit 1f2c179
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private bool PrepareAndGenerateTexture(TextureImporterPlatformSettings platformS

platformSettings.format = TextureImporterFormat.RGBA32;
importerSettings.spritePixelsPerUnit = _pixelsPerUnit * _overrideTextureMultiplier;
importerSettings.filterMode = FilterMode.Point;
//importerSettings.filterMode = FilterMode.Point;

LDtkProfiler.BeginSample("GetRawTextureData");
NativeArray<Color32> pixels = copy.GetRawTextureData<Color32>();
Expand Down

0 comments on commit 1f2c179

Please sign in to comment.