更改文件架构
This commit is contained in:
17
Packages/Common~/Scripts/URP/BITKit.URP.asmdef
Normal file
17
Packages/Common~/Scripts/URP/BITKit.URP.asmdef
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "BITKit.URP",
|
||||
"rootNamespace": "",
|
||||
"references": [
|
||||
"GUID:15fc0a57446b3144c949da3e2b9737a9",
|
||||
"GUID:df380645f10b7bc4b97d4f5eb6303d95"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
7
Packages/Common~/Scripts/URP/BITKit.URP.asmdef.meta
Normal file
7
Packages/Common~/Scripts/URP/BITKit.URP.asmdef.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b7089cba4c5ae5c4ca76c2bb41c96201
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
36
Packages/Common~/Scripts/URP/ScreenSpaceOutlines.cs
Normal file
36
Packages/Common~/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 ;
|
||||
//}
|
||||
}
|
11
Packages/Common~/Scripts/URP/ScreenSpaceOutlines.cs.meta
Normal file
11
Packages/Common~/Scripts/URP/ScreenSpaceOutlines.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6f81921808e0f4a4192b8e044d610e36
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user