UI 아틀라스 밉맵 켬 + 보물 아이콘 테마 등록(PD 2026-11-11 「밉맵 생성을 켜고」)
- UIAtlasBuilder: generateMipMaps true · Trilinear · 설정 판(TexSettingsVer "mip1")을 구성 서명에 넣어 기존 아틀라스 다시 굽기
· 아틀라스 4장(UI_Common · UI_Content · UI_SkillIcon · WorldMap_UI) 설정 갱신 · 메모리 = 장마다 약 +1/3
· 이유: 밉맵 없이 256 px 아이콘을 1/2 아래로 줄여 그리면 외곽 계단·지글거림(작은 화면 · 에디터 축소 화면) — 가로 700 캡처로 해소 확인
- UITheme.asset: 원격 스킬 아이콘(1532af5)과 합친 뒤 테마 임포트로 다시 생성 = 보물 아이콘 tre_* 30 추가(스킬 아이콘 159 유지)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
552451feb6
commit
cc77143992
|
|
@ -2492,6 +2492,126 @@ MonoBehaviour:
|
|||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 1c2c8538c78d41244805a251c92171c0, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_ancient_blade
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 5ef9d8ba04ba7284b9ab0d656d2de346, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_art_of_war
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: c28de5eaf890e6b47817c3525a32ab4d, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_black_iron_armor
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: b86075e8d6abbf24690ca988fd898472, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_book_of_changes
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: c58b2a2f9bea3114eaf1dd27a425d232, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_dilu
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 1a82b8e86b3e8f544b33b9dcb9976da1, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_dragon_gall_spear
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: a75f0e911187b954695d177b1aebb610, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_feather_fan
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 8f5d4cb70e4e2184680a1c047eed17a3, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_gold_bell
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 1f340282f65e5334ebb730899d6ace38, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_great_chopper
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 5bcf99f75db594541b1b1f01bde7cd6b, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_green_dragon_blade
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 76e301d6d4785194e90a2586374fc957, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_heaven_reliant_sword
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: f510c0848c0ee7e49b511ac448da5395, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_hebei_war_banner
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: e32273eab591a44458949bfc320e3345, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_iron_core_bow
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 20f08ae7f97e6c24293f5d937bc9e04b, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_jade_seal
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: d14269935c13ba04295122d0f477b689, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_king_wu_sword
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: bec2255b7de072345b678746b851b710, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_nine_section_staff
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 4ad4c9291480f9040bc95fc967bdc7b9, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_red_hare
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: b36e7fd10e27eb240b83f755784ef694, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_serpent_spear
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 8af942c32a45160428846348044c6ab3, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_seven_star_sword
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: ac5e239f3fcedae45bd46e1ba29fc968, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_seven_string_zither
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 4c5a9563f9ff39144a53a22919dc6396, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_sky_piercer_halberd
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: cb15d03d847ed5943a1bde0994090cd5, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_taiping_book
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 561f14befc1d9c8459d11275c88c13d3, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_three_strategies
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 477152dde3a5a5448a131c68e98d114f, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_tiger_head_spear
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 854bea0c974dc8f42adde9550a0be252, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_twin_iron_halberd
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 1f70dd8de4019c54ca8d5404b6096b63, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_twin_swords
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: c47b9701d961a964f835056214c10ff7, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_xiliang_armor
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 22d30ab6ec1dcf544b2cb93f33bffe80, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_xiliang_bow
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 575af43283c46cb41a301cd4b610f3eb, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_yellow_talisman
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 3b9b23557fe8cad4d97588612f0ad67b, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- id: tre_yellow_turban
|
||||
pack: {fileID: 0}
|
||||
samguk: {fileID: 21300000, guid: 5191ec19812d3414da040bdd74b36d21, type: 3}
|
||||
tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
titleFont: {fileID: 12800000, guid: c39a7a9926c7dcf4891011de7f09b4b3, type: 3}
|
||||
bodyFont: {fileID: 12800000, guid: 9465d06e87caef04e8ec29e8ab4670ef, type: 3}
|
||||
bodyBoldFont: {fileID: 12800000, guid: 1f8be275dd6c50e4ab53f7529ed55727, type: 3}
|
||||
|
|
|
|||
|
|
@ -151,11 +151,14 @@ namespace TKS.EditorTools
|
|||
return true;
|
||||
}
|
||||
|
||||
/// <summary>아틀라스 1장을 표 구성대로 · 구성(목록·크기·간격) 서명이 같으면 건드리지 않는다.</summary>
|
||||
/// <summary>텍스처 설정 판 — 아래 textureSettings 를 바꾸면 이 값을 올려 기존 아틀라스를 다시 굽게 한다(서명에 들어감).</summary>
|
||||
const string TexSettingsVer = "mip1";
|
||||
|
||||
/// <summary>아틀라스 1장을 표 구성대로 · 구성(설정 판·목록·크기·간격) 서명이 같으면 건드리지 않는다.</summary>
|
||||
static bool Write(Group g, int padding)
|
||||
{
|
||||
string path = OutDir + "/" + g.name + ".spriteatlasv2";
|
||||
string sig = Hash128.Compute(g.maxSize + ";" + padding + ";" + string.Join("|", g.paths.Select(AssetDatabase.AssetPathToGUID))).ToString();
|
||||
string sig = Hash128.Compute(TexSettingsVer + ";" + g.maxSize + ";" + padding + ";" + string.Join("|", g.paths.Select(AssetDatabase.AssetPathToGUID))).ToString();
|
||||
var imp = AssetImporter.GetAtPath(path) as SpriteAtlasImporter;
|
||||
if (imp != null && imp.userData == sig) return false;
|
||||
|
||||
|
|
@ -171,7 +174,7 @@ namespace TKS.EditorTools
|
|||
AssetDatabase.ImportAsset(path, ImportAssetOptions.ForceSynchronousImport);
|
||||
imp = (SpriteAtlasImporter)AssetImporter.GetAtPath(path);
|
||||
imp.includeInBuild = true;
|
||||
// UI = 사각 묶음(9-slice · Filled 가 그대로) · 회전 없음 · 밉맵 없음
|
||||
// UI = 사각 묶음(9-slice · Filled 가 그대로) · 회전 없음
|
||||
imp.packingSettings = new SpriteAtlasPackingSettings
|
||||
{
|
||||
blockOffset = 1,
|
||||
|
|
@ -180,12 +183,14 @@ namespace TKS.EditorTools
|
|||
enableAlphaDilation = true,
|
||||
padding = padding
|
||||
};
|
||||
// 밉맵 켬(PD 2026-11-11 「밉맵 생성을 켜고」) — 작은 화면에서 256 px 아이콘을 1/2 아래로 줄여 그릴 때 외곽 계단·지글거림 제거 ·
|
||||
// Trilinear = 축소 단계 사이를 섞어 크기가 바뀌는 연출에서도 튀지 않음 · 메모리 = 아틀라스마다 약 +1/3
|
||||
imp.textureSettings = new SpriteAtlasTextureSettings
|
||||
{
|
||||
readable = false,
|
||||
generateMipMaps = false,
|
||||
generateMipMaps = true,
|
||||
sRGB = true,
|
||||
filterMode = FilterMode.Bilinear,
|
||||
filterMode = FilterMode.Trilinear,
|
||||
anisoLevel = 0
|
||||
};
|
||||
var ps = imp.GetPlatformSettings("DefaultTexturePlatform");
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ SpriteAtlasImporter:
|
|||
compressionQuality: 0
|
||||
maxTextureSize: 0
|
||||
textureCompression: 0
|
||||
filterMode: 1
|
||||
generateMipMaps: 0
|
||||
filterMode: 2
|
||||
generateMipMaps: 1
|
||||
readable: 0
|
||||
crunchedCompression: 0
|
||||
sRGB: 1
|
||||
|
|
@ -38,6 +38,6 @@ SpriteAtlasImporter:
|
|||
secondaryTextureSettings: {}
|
||||
variantMultiplier: 1
|
||||
bindAsDefault: 1
|
||||
userData: b41e6e876a83b64ce49157a3fb17032a
|
||||
userData: 207566d797cda63e70e66233f1d07728
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ SpriteAtlasImporter:
|
|||
compressionQuality: 0
|
||||
maxTextureSize: 0
|
||||
textureCompression: 0
|
||||
filterMode: 1
|
||||
generateMipMaps: 0
|
||||
filterMode: 2
|
||||
generateMipMaps: 1
|
||||
readable: 0
|
||||
crunchedCompression: 0
|
||||
sRGB: 1
|
||||
|
|
@ -38,6 +38,6 @@ SpriteAtlasImporter:
|
|||
secondaryTextureSettings: {}
|
||||
variantMultiplier: 1
|
||||
bindAsDefault: 1
|
||||
userData: 4dbf55295db50cdfa18e4172abb1240b
|
||||
userData: 99a22992cec4451c0f1ab22b984288c4
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ SpriteAtlasImporter:
|
|||
compressionQuality: 0
|
||||
maxTextureSize: 0
|
||||
textureCompression: 0
|
||||
filterMode: 1
|
||||
generateMipMaps: 0
|
||||
filterMode: 2
|
||||
generateMipMaps: 1
|
||||
readable: 0
|
||||
crunchedCompression: 0
|
||||
sRGB: 1
|
||||
|
|
@ -38,6 +38,6 @@ SpriteAtlasImporter:
|
|||
secondaryTextureSettings: {}
|
||||
variantMultiplier: 1
|
||||
bindAsDefault: 1
|
||||
userData: 382432956922d3fe8e14b6c5f7aeaadc
|
||||
userData: 8ffc60dba29113c12c9aa5ddb3757cb3
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ SpriteAtlasImporter:
|
|||
compressionQuality: 0
|
||||
maxTextureSize: 0
|
||||
textureCompression: 0
|
||||
filterMode: 1
|
||||
generateMipMaps: 0
|
||||
filterMode: 2
|
||||
generateMipMaps: 1
|
||||
readable: 0
|
||||
crunchedCompression: 0
|
||||
sRGB: 1
|
||||
|
|
@ -38,6 +38,6 @@ SpriteAtlasImporter:
|
|||
secondaryTextureSettings: {}
|
||||
variantMultiplier: 1
|
||||
bindAsDefault: 1
|
||||
userData: 4ff456e91362a4f3c06e9aa4c0f2a0ae
|
||||
userData: 48a46df52274c965baec7598dc694240
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
|
|||
Loading…
Reference in New Issue