Create URP Shaders
Editor extension to add menu entries to create new URP Lit/Empty shaders
com.kagekirin.createurpshaders 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/createurpshaders.git README Markdown
Copy this to your project's README.md
## Installation
Add **Create URP Shaders** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/createurpshaders.git
```
[](https://www.pkglnk.dev/pkg/createurpshaders)Dependencies (1)
README
CreateNewURPShaders
This packages is a small editor extension for Unity (2021.1+, but we could backport to older versions as well), that adds 2 new menu entries:
- Assets -> Create -> Shader -> Universal Render Pipeline -> New Lit Shader to create a new shader based on URP/Lit, i.e. a plain copy of its source
- Assets -> Create -> Shader -> Universal Render Pipeline -> New Empty Shader to create a new shader for URP that contains merely the skeleton of a shader
Details
Lit shader
This functionality retrieves the original URL/Lit shader, and copies its source into the new shader as destination. The shader name gets adapted along the way.
Empty shader
The skeleton of the empty shader is based on Unity's sample given in the URP documentation.
Rationale for this package
I was tired of having to do this by hand every time I wanted to create a customized shader.
No comments yet. Be the first!