1
This commit is contained in:
36
Unity/Scripts/URP/ScreenSpaceOutlines.cs
Normal file
36
Unity/Scripts/URP/ScreenSpaceOutlines.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
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 ;
|
||||
//}
|
||||
}
|
Reference in New Issue
Block a user