diff --git a/Assets/Coffee/UIExtensions/UIEffect/Scripts/Common/ParameterTexture.cs b/Assets/Coffee/UIExtensions/UIEffect/Scripts/Common/ParameterTexture.cs index 7af82165..9b221006 100644 --- a/Assets/Coffee/UIExtensions/UIEffect/Scripts/Common/ParameterTexture.cs +++ b/Assets/Coffee/UIExtensions/UIEffect/Scripts/Common/ParameterTexture.cs @@ -167,7 +167,8 @@ void Initialize() if (!_texture) { - _texture = new Texture2D(_channels / 4, _instanceLimit, TextureFormat.RGBA32, false, false); + bool isLinear = QualitySettings.activeColorSpace == ColorSpace.Linear; + _texture = new Texture2D(_channels / 4, _instanceLimit, TextureFormat.RGBA32, false, isLinear); _texture.filterMode = FilterMode.Point; _texture.wrapMode = TextureWrapMode.Clamp;