Removed the dependency of layer mask of hair shadow caster;
Added HairShadowCaster pass;
This commit is contained in:
13
Runtime/Constants/UtsShaderPassName.cs
Normal file
13
Runtime/Constants/UtsShaderPassName.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user