Added translaprent support
This commit is contained in:
@@ -31,7 +31,7 @@ namespace Misaki.HdrpToon
|
||||
targetDepthBuffer = CustomPass.TargetBuffer.None,
|
||||
};
|
||||
|
||||
_outlinePass = new()
|
||||
_outlinePass = new UTSOutlinePass()
|
||||
{
|
||||
name = "UTS Outline",
|
||||
targetColorBuffer = CustomPass.TargetBuffer.Camera,
|
||||
@@ -39,7 +39,7 @@ namespace Misaki.HdrpToon
|
||||
};
|
||||
|
||||
CustomPassVolume.RegisterUniqueGlobalCustomPass(CustomPassInjectionPoint.AfterOpaqueDepthAndNormal, _utsPass);
|
||||
CustomPassVolume.RegisterUniqueGlobalCustomPass(CustomPassInjectionPoint.BeforePostProcess, _outlinePass);
|
||||
CustomPassVolume.RegisterUniqueGlobalCustomPass(CustomPassInjectionPoint.BeforeTransparent, _outlinePass);
|
||||
|
||||
NotifyRendererSettingChanged();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user