com.kagekirin.createurpshaders

1.0.7 • Public • Published

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.74latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.74

Package Sidebar

Install

npm i com.kagekirin.createurpshaders

Weekly Downloads

1

Version

1.0.7

License

none

Unpacked Size

71.5 kB

Total Files

34

Last publish

Collaborators

  • kagekirin