mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +00:00
[BetterShadowClone] Added DontRespectFPR setting
This commit is contained in:
parent
829ad55195
commit
0d82606308
6 changed files with 45 additions and 24 deletions
|
@ -24,6 +24,10 @@ public static class ModSettings
|
|||
Category.CreateEntry("Copy Material to Shadow", true,
|
||||
description: "Should the shadow clone copy the material from the original mesh? Note: This can have a slight performance hit.");
|
||||
|
||||
internal static readonly MelonPreferences_Entry<bool> EntryDontRespectFPR =
|
||||
Category.CreateEntry("Dont Respect FPR", false,
|
||||
description: "Should the transform hider not respect FPR?");
|
||||
|
||||
internal static readonly MelonPreferences_Entry<bool> EntryDebugHeadHide =
|
||||
Category.CreateEntry("Debug Head Hide", false,
|
||||
description: "Should head be hidden for first render?");
|
||||
|
@ -39,6 +43,7 @@ public static class ModSettings
|
|||
|
||||
private static void OnSettingsChanged(object oldValue = null, object newValue = null)
|
||||
{
|
||||
TransformHiderManager.s_DisallowFprExclusions = EntryDontRespectFPR.Value;
|
||||
TransformHiderManager.s_DebugHeadHide = EntryDebugHeadHide.Value;
|
||||
ShadowCloneManager.s_CopyMaterialsToShadow = EntryCopyMaterialToShadow.Value;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue