
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
22 lines
637 B
C#
22 lines
637 B
C#
namespace UnityEngine.Rendering.Universal
|
|
{
|
|
/// <summary>
|
|
/// Invokes OnRenderObject callback
|
|
/// </summary>
|
|
|
|
internal class InvokeOnRenderObjectCallbackPass : ScriptableRenderPass
|
|
{
|
|
public InvokeOnRenderObjectCallbackPass(RenderPassEvent evt)
|
|
{
|
|
base.profilingSampler = new ProfilingSampler(nameof(InvokeOnRenderObjectCallbackPass));
|
|
renderPassEvent = evt;
|
|
}
|
|
|
|
/// <inheritdoc/>
|
|
public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData)
|
|
{
|
|
context.InvokeOnRenderObjectCallback();
|
|
}
|
|
}
|
|
}
|