Added translaprent support
This commit is contained in:
15
Runtime/Constants/UTSPassName.cs
Normal file
15
Runtime/Constants/UTSPassName.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using UnityEngine.Rendering;
|
||||
|
||||
namespace Misaki.HdrpToon
|
||||
{
|
||||
public static class UTSPassName
|
||||
{
|
||||
public const string OUTLINE_PASS_NAME = "Outline";
|
||||
public const string HAIR_SHADOW_CASTER_PASS_NAME = "HairShadowCaster";
|
||||
public const string HAIR_BLENDING_TARGET_PASS_NAME = "HairBlendingTarget";
|
||||
|
||||
public static readonly ShaderTagId outlinePassId = new(OUTLINE_PASS_NAME);
|
||||
public static readonly ShaderTagId hairShadowCasterPassId = new(HAIR_SHADOW_CASTER_PASS_NAME);
|
||||
public static readonly ShaderTagId hairBlendingTargetPassId = new(HAIR_BLENDING_TARGET_PASS_NAME);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user