Home

Awesome

Configurable Unity Shaders

Configurable stencil shader inspector screenshot

Access otherwise hidden shader features to understand them

openupm Unity 5.6 or later Built-In Render Pipeline

Don't repeat yourself by writing the same shaders over and over again with little variation. You can expose a lot of different shader settings through attributes! Configurable Shaders does three main things:

  1. Provide unlit and lit shaders for Opaque, Cutout and Transparent RenderTypes with a lot of configuration.
  2. Provide new useful Material Property Drawers and Debug Shaders
  3. Document the hidden features of shaders, that are not that apparent from the Unity Docs.

Unity Thread

Installation

Simple Download

Latest Unity Packages

Unity Package Manager (UPM)

You will need to have git installed and set in your system PATH.

Find Packages/manifest.json in your project and add the following:

{
  "dependencies": {
    "com.supyrb.configurableshaders": "https://github.com/supyrb/ConfigurableShaders.git#0.7.1",
    "...": "..."
  }
}

OpenUPM

Install the package with OpenUPM through the commandline

# Install openupm-cli
$ npm install -g openupm-cli

# Enter your unity project folder
$ cd YOUR_UNITY_PROJECT_FOLDER

# Add package to your project
$ openupm add com.supyrb.configurableshaders

Wiki (Home)

Additional Support Notes

Examples

NameExample
Overview SceneOverview Scene Screenshot
World Normal ShaderWorldNormalShader
Depth01 ShaderDepth01Shader
Standard Material PropertiesDepth01Shader
Custom Property DrawersCustom Material Property Drawers

Contribute

Let's make something great together!

Helping Hands & Contributors

License

Made by 💥Supyrb