This commit is contained in:
SoulliesOfficial
2025-12-17 04:19:38 -05:00
parent 7c1cb7e8e1
commit d15957c719
4315 changed files with 8260710 additions and 2940 deletions

View File

@@ -0,0 +1,30 @@
using UnityEngine;
namespace GraphicsCat.LitPlus.Experimental
{
public class LitPlusConfig : MonoBehaviour
{
[Range(-3, 3)]
public int mipmapBias = 0;
void OnEnable()
{
OnValidate();
}
void OnDisable()
{
Reset();
}
void OnValidate()
{
Shader.SetGlobalInt("gGlobalMipmapBias", mipmapBias);
}
void Reset()
{
Shader.SetGlobalInt("gGlobalMipmapBias", 0);
}
}
}