Skip to content

phi-lira/UniversalShaderExamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Universal Shader Examples

This project contains a collection of shader examples for Universal Render Pipeline.

Requisites:

  • 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.

How to use this examples

  • 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.

Examples in this project

Unlit Examples

All unlit shader examples except the first one support realtime shadows (cast and receive).

01 UnlitTexture

Basic "hello world" shader. UnlitTexture

02 UnlitTexture + Realtime Shadows

Unlit with support for receiving and casting realtime shadows. UnlitTextureShadows

03 Matcap

Matcap with support of per-pixel normals. Matcap

04 Screen Space UV

Screen space uv texture mapping. SceenSpaceUV

Lit Examples

50 BakedIndirect

No direct lighting. Global Illumination (skylight + SH and Lightamps) + realtime shadows. UnlitTexture

51 LitPhysicallyBased

Physically Based Lit shader supporting metallic workflow. LitPhysicallyBased

Resources

About

Sand box project containing example shaders and assets compatible with Unity Universal Render Pipeline.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published