Removed the dependency of layer mask of hair shadow caster;

Added HairShadowCaster pass;
This commit is contained in:
Misaki
2025-01-08 23:09:55 +09:00
parent a7a9ad16b5
commit 968b83870f
9 changed files with 97 additions and 146 deletions

View File

@@ -0,0 +1,13 @@
using UnityEngine.Rendering;
namespace Misaki.HdrpToon
{
public static class UtsShaderPassName
{
public const string OUTLINE_PASS_NAME = "Outline";
public const string HAIR_SHADOW_CASTER_PASS_NAME = "HairShadowCaster";
public static readonly ShaderTagId outlinePassId = new(OUTLINE_PASS_NAME);
public static readonly ShaderTagId hairShadowCasterPassId = new(HAIR_SHADOW_CASTER_PASS_NAME);
}
}