36 lines
1.4 KiB
C#
36 lines
1.4 KiB
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.Rendering;
|
|
using UnityEngine.Rendering.Universal;
|
|
|
|
namespace BITKit
|
|
{
|
|
//public class ScreenSpaceOutlines : ScriptableRendererFeature
|
|
//{
|
|
// [System.Serializable]
|
|
// private class ViewSpaceNormalsTextureSettings { }
|
|
// private class ViewSpaceNormalsTexturePass : ScriptableRenderPass
|
|
// {
|
|
// private readonly RenderTargetHandle normals;
|
|
// public ViewSpaceNormalsTexturePass(RenderPassEvent renderPassEvent)
|
|
// {
|
|
// this.renderPassEvent = renderPassEvent;
|
|
// normals.Init("_SceneViewSpaceNormals");
|
|
// }
|
|
// public override void Configure(CommandBuffer cmd, RenderTextureDescriptor cameraTextureDescriptor)
|
|
// {
|
|
// cmd.GetTemporaryRT(normals.id, cameraTextureDescriptor, FilterMode.Point);
|
|
// }
|
|
// public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData)
|
|
// {
|
|
// throw new System.NotImplementedException();
|
|
// }
|
|
// public override void OnCameraCleanup(CommandBuffer cmd)
|
|
// {
|
|
// base.OnCameraCleanup(cmd);
|
|
// }
|
|
// }
|
|
// [SerializeField] private ViewSpaceNormalsTextureSettings ;
|
|
//}
|
|
} |