From d97f5b1a8bad84b4fb5c238a7b1aa20487e5a620 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Mon, 28 Jan 2019 11:40:52 +0200 Subject: [PATCH] Changed: Enable UI bilinear filtering by default. Requires new atlases to be generated --HG-- branch : develop --- code/ryzom/client/client_default.cfg | 5 +++++ code/ryzom/client/src/client_cfg.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/code/ryzom/client/client_default.cfg b/code/ryzom/client/client_default.cfg index 950da08b6..11bd62b5b 100644 --- a/code/ryzom/client/client_default.cfg +++ b/code/ryzom/client/client_default.cfg @@ -326,6 +326,11 @@ InterfaceScale_min = 0.8; InterfaceScale_max = 2.0; InterfaceScale_step = 0.05; +// Enable biliner filtering for UI textures +// Texture atlas needs to be generated with border duplication +// or there will be visible texture bleeding +BilinearUI = 1; + // Default values for map MaxMapScale = 2.0; R2EDMaxMapScale = 8.0; diff --git a/code/ryzom/client/src/client_cfg.cpp b/code/ryzom/client/src/client_cfg.cpp index e1ab87c02..ea81cd980 100644 --- a/code/ryzom/client/src/client_cfg.cpp +++ b/code/ryzom/client/src/client_cfg.cpp @@ -304,7 +304,7 @@ CClientConfig::CClientConfig() InterfaceScale_min = 0.8f; InterfaceScale_max = 2.0f; InterfaceScale_step = 0.05; - BilinearUI = false; + BilinearUI = true; VREnable = false; VRDisplayDevice = "Auto";