Skip to content

Commit 56d450b

Browse files
committed
Cache version update and fix for missing alpha channel data on Face textures.
1 parent ec8c518 commit 56d450b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

xivModdingFramework/Cache/XivCache.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static class XivCache
2727
private static GameInfo _gameInfo;
2828
private static DirectoryInfo _dbPath;
2929
private static DirectoryInfo _rootCachePath;
30-
public static readonly Version CacheVersion = new Version("1.0.0.1");
30+
public static readonly Version CacheVersion = new Version("1.0.0.2");
3131
private const string dbFileName = "mod_cache.db";
3232
private const string rootCacheFileName = "item_sets.db";
3333
private const string creationScript = "CreateCacheDB.sql";

xivModdingFramework/Models/ModelTextures/ModelTexture.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,8 @@ private static void ComputeShaderColors(CustomModelColors colors, ShaderInfo in
557557
float specAmp = 1.0f + (lipInfluence * 0.25f);
558558
newSpecular = MultiplyColor(newSpecular, specAmp);
559559

560+
// Face shader supports alpha, unlike normal skin textures.
561+
opacity = baseNormal.B;
560562
}
561563

562564

0 commit comments

Comments
 (0)