Added HairBlendingSetting in UTSRenderPassSetting; Added MaterialType to UTS; Added MaterialFeature scope to UTS material editor; Merged HairBlendingPass and HairShadowPass into UTSPass; Fixed the bug that character box light can not update rotation correctly according to bound light source;
15 lines
631 B
C#
15 lines
631 B
C#
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 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);
|
|
}
|
|
} |