From 28a05437b13d662e5f8361a10e5dc3359e4e2dd1 Mon Sep 17 00:00:00 2001 From: Gustavo Jaruga Cruz Date: Mon, 13 May 2024 21:25:36 -0300 Subject: [PATCH] Add smart pick alternatives to auto-pick polyhaven textures. --- .../texture_editor/set_editor/texture_set_import_editor.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/zylann.hterrain/tools/texture_editor/set_editor/texture_set_import_editor.gd b/addons/zylann.hterrain/tools/texture_editor/set_editor/texture_set_import_editor.gd index 059a396..d0411dc 100644 --- a/addons/zylann.hterrain/tools/texture_editor/set_editor/texture_set_import_editor.gd +++ b/addons/zylann.hterrain/tools/texture_editor/set_editor/texture_set_import_editor.gd @@ -25,9 +25,9 @@ const _compress_names = ["Raw", "Lossless", "Lossy", "VRAM"] # Indexed by HTerrainTextureSet.SRC_TYPE_* constants const _smart_pick_file_keywords = [ - ["albedo", "color", "col", "diffuse"], + ["albedo", "color", "col", "diffuse", "diff"], ["bump", "height", "depth", "displacement", "disp"], - ["normal", "norm", "nrm", "normalgl"], + ["normal", "norm", "nrm", "normalgl", "nor_gl"], ["roughness", "rough", "rgh"] ]