Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit 2839c8a

Browse files
committed
Do not enforce filtering on LUTs (allows for lo-fi effects and the like)
1 parent f0969c5 commit 2839c8a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

PostProcessing/Editor/Effects/ColorGradingEditor.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,6 @@ void CheckLutImportSettings(Texture lut)
340340
&& importer.mipmapEnabled == false
341341
&& importer.sRGBTexture == false
342342
&& importer.textureCompression == TextureImporterCompression.Uncompressed
343-
&& importer.filterMode == FilterMode.Bilinear
344343
&& importer.wrapMode == TextureWrapMode.Clamp;
345344

346345
if (!valid)
@@ -352,7 +351,6 @@ void CheckLutImportSettings(Texture lut)
352351
void SetLutImportSettings(TextureImporter importer)
353352
{
354353
importer.textureType = TextureImporterType.Default;
355-
importer.filterMode = FilterMode.Bilinear;
356354
importer.mipmapEnabled = false;
357355
importer.anisoLevel = 0;
358356
importer.sRGBTexture = false;

0 commit comments

Comments
 (0)