Updated namespace;

Added UTSPass;
Chnaged the RTHanlde _HairShadowMap to not reallocate when screen resolution decreased;
This commit is contained in:
Misaki
2025-01-08 22:19:04 +09:00
parent 23862b4380
commit a7a9ad16b5
33 changed files with 457 additions and 599 deletions

View File

@@ -2,24 +2,20 @@ using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Unity.Rendering.Toon
namespace Misaki.HdrpToon
{
[ExecuteAlways]
[DisallowMultipleComponent]
[RequireComponent(typeof(Camera))]
internal class DebugShadowmap : MonoBehaviour
public class DebugShadowmap : MonoBehaviour
{
// flags
bool m_initialized = false;
bool m_srpCallbackInitialized = false;
[SerializeField]
internal bool m_enableShadowmapDebugging = false;
[SerializeField]
internal bool m_enableSelfShadowDebugging = false;
[SerializeField]
internal bool m_enableBinalization = false;
[SerializeField]
internal bool m_enableOutlineDebugging = false;
public bool m_enableShadowmapDebugging = false;
public bool m_enableSelfShadowDebugging = false;
public bool m_enableBinalization = false;
public bool m_enableOutlineDebugging = false;