This project contains a collection of shader examples for Universal Render Pipeline.
- Unity 2019.3.9f1 or later
- UniversalRP 7.3.1 or later
- You need git-lfs to download the large asset files. Most Git client UI comes with support to git-lfs.
- Clone the repository. You must have git-lfs enabled.
- Load in Unity.
- Examples are located in
_ExampleScenes
folder. Each scene contains a different example bundled with shaders and materials.
All unlit shader examples except the first one support realtime shadows (cast and receive).
Unlit with support for receiving and casting realtime shadows.
Matcap with support of per-pixel normals.
Screen space uv texture mapping.
No direct lighting. Global Illumination (skylight + SH and Lightamps) + realtime shadows.
Physically Based Lit shader supporting metallic workflow.
Cleat Coat Physically Based evaluates a second BDRF for thin coat layer.
From left to right: car flakes, carbon filter, lacquered wood.
Top spheres are without the coat layer, using the standard Lit Physically Based shader.
Bottom spheres are with the Clear Coat Physically Based shader.
- Mori Knob downloaded from Morgan McGuire's Computer Graphics Archive
- UV grid textures downloaded from Helloluxx
- MatCap textures from Nidorx Github
- Clear Coat Materials from Unity Measured Material Library