Render Feature作用是支持SRP扩展自定义渲染pass,因此需要在SRP下使用,这里选择URP,在package manager中找到Universal RP并install。 创建一个前向渲染管线资产,会生成一个UniversalRenderPipelineAsset和UniversalRenderPipelineAsset_Renderer文件。 在Edit-Project Settings-Graphics中将渲染管线设置为刚设置好的URP Asset 场景就自由发挥搭建吧 MyBlitFeature.cs using UnityEngine; using UnityEngine.Rendering.Universal; public class MyBlitFeature : ScriptableRendererFeature { [System.Serializable] public class MyFeatureSettings { // 在inspector面板中设置开关,插入pass的位置,材质 public bool IsEnabled =...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile