Skip to content

Commit fb77c47

Browse files
committed
Add fresh mtrl constant names.
1 parent dcb996b commit fb77c47

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

xivModdingFramework/Materials/DataContainers/ShaderHelpers.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,6 @@ private static void AddCustomNamesAndValues()
371371
UpdateConstantName(shKv.Key, 0x36080AD0, "Dither?");
372372
UpdateConstantName(shKv.Key, 0xCB0338DC, "Reflection Color?");
373373
UpdateConstantName(shKv.Key, 0x58DE06E2, "Limbal Color?");
374-
UpdateConstantName(shKv.Key, 0x59BDA0B1, "Inverse Metalness?");
375374
UpdateConstantName(shKv.Key, 0x141722D5, "Specular Color");
376375

377376
// Names based on analyzing shader code.
@@ -407,6 +406,12 @@ private static void AddCustomNamesAndValues()
407406
UpdateConstantName(shKv.Key, 0x3632401A, "g_LipRoughnessScale", true);
408407
UpdateConstantName(shKv.Key, 0x7DABA471, "g_IrisRingEmissiveIntensity", true);
409408
UpdateConstantName(shKv.Key, 0xCB0338DC, "g_SpecularColorMask", true);
409+
UpdateConstantName(shKv.Key, 0x59BDA0B1, "g_ShaderID", true);
410+
UpdateConstantName(shKv.Key, 0x29253809, "g_ShaderID", true);
411+
UpdateConstantName(shKv.Key, 0xDF15112D, "g_ToonIndex", true);
412+
UpdateConstantName(shKv.Key, 0x00A680BC, "g_ToonSpecIndex", true);
413+
UpdateConstantName(shKv.Key, 0x3CCE9E4C, "g_ToonLightScale", true);
414+
UpdateConstantName(shKv.Key, 0xD96FAF7A, "g_ToonReflectionScale", true);
410415

411416

412417
UpdateConstantName(shKv.Key, 0xCB0338DC, "g_IrisAPrefersRg", true);

0 commit comments

Comments
 (0)