Unclaimed Package Is this your package? Claim it to unlock full analytics and manage your listing.
Claim This Package

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

Style
Preview
pkglnk installs badge
## 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
```

[![pkglnk](https://www.pkglnk.dev/badge/createurpshaders.svg?style=pkglnk)](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.

Comments

No comments yet. Be the first!