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:
- Provide unlit and lit Shaders for Opaque, Cutout and Transparent RenderTypes with a lot of configuration.
- Provide new useful Material Property Drawers and Debug Shaders
- Document the hidden features of shaders, that are not that apparent from the Unity Docs.
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.6.3",
"...": "..."
}
}
Wiki (Home)
- This Project is for Builtin Shaders, and not meant for usage in the Universal RenderPipeline (URP) or the High Definition Render Pipeline (HDRP)
- Alpha 2 Coverage is supported in the Unlit Cutout Shader (More Information)
- Easily Recreate Diablo BlendAdd by setting Blend to One OneMinusSrcAlpha (More Information)
- Custom Material PropertyDrawers
- Single Pass Stereo Rendering for VR
- Shadows are also configred with the settings of the shader (which is great!)
Name | Example |
---|---|
Overview Scene | |
World Normal Shader | |
Depth01 Shader | |
Standard Material Properties |
We would ❤love to hear from you.
- If you find a problem, either create a PR or file an issue
- To get in touch send us a tweet
- Play our game marbloid
- @Supyrb (Owner)
- @DemlJohannes
- @bgolus
- MIT - see LICENSE
- Stanford Bunny from https://graphics.stanford.edu/data/3Dscanrep/