百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

CustomSRP

> 编程语言
开源

Bare Bones 脚本化渲染管线。将其用作创建自己的基础。

199 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Bare Bones 脚本化渲染管线。将其用作创建自己的基础。

Custom SRP Template

This is a template Scriptable Render Pipeline (SRP) package for Unity. It contains boiler plate code to be used as starting point when creating custom render pipelines. It also already creates base files to distribute and install this custom SRP as a package for Unity.

Create your custom SRP package from this template

  • Create a Github repository from this template by clicking on the Use this template button at the top.
  • Edit package.json file to configure the package manifest.
    • Note: If you change package name, be sure to all change shader includes.
  • Update README.md, CHANGELOG.md and LICENSE.md files to reflect the contents of your package.

How to install your package in your Unity project

  • In Unity, click at the top bar on Window -> Package Manager.
  • Follow these instructions to install it as a local package.

How to use

  • Create a render pipeline asset by clicking on Assets -> Create -> Custom Render Pipeline Asset.
  • In Graphics Settings, assign the newly created render pipeline asset in the Scriptable Render Pipeline Settings field.

What's in the package

The package follows the Unity's Package Manager recommended layout

  • package.json describes the package metadata required by Package Manager.
  • README.md contains project description used by Github.
  • CHANGELOG.md contains changelog entries. This is used by Package Manager to display changelog information in the Editor.
  • LICENSE.md containts package license information. This is used by Package Manager to display license information in the Editor.
  • Editor
    • Unity.com.render-pipelines.Editor.asmdef the assembly definition file for editor scripts.
  • Runtime
    • CustomRenderPipeline.cs - Contains rendering related code. Edit this file to add the desired rendering logic.
    • CustomRenderPipelineAsset.cs - Creates render pipeline instance. Can hold render pipeline resources.
    • Unity.com.render-pipelines.asmdef - the assembly definition file for editor scripts.
  • ShaderLibrary
    • Core.hlsl - Includes all basic shader necessary files.
    • UnityInput.hlsl - Contains declaration of all built-in Unity shader constants.
  • Shaders
    • Unlit.shader - Unlit shader example.
  • Tests
    • Contains Editor and Runtime test folders. To be used with UnityTestRunner to write automated package tests.
  • Documentation~
    • index.md - Contains index page for documentation. This is used by Package Manager to display package docs.
  • Samples~
    • Add any sample scenes to your package here. This will be displayed by Package Manager.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言