Delt06 / toon-rp

🌔 A Scriptable Render Pipeline (SRP) designed for toon/stylized visuals. Features custom lighting pipeline, multiple shadow algorithms, tiled lighting, Shader Graph support, and more.
MIT License
492 stars 26 forks source link
cel-shading render-pipeline scriptable-render-pipeline shader shader-graph shaders shading srp stylized toon toon-shading unity

Toon Render Pipeline (Unity SRP)

GitHub release (latest SemVer including pre-releases) GitHub license

A Scriptable Render Pipeline (SRP) designed specifically for toon/stylized visuals.

🚧 The project is in its early stages and has not been tested in production.

⚠️ The project only supports Linear color space.

📝 The development progress can be tracked via Issues and Project Board.

Main

Unity Version

🔨 Developed and verified with Unity 2022.3.12f1 LTS and Core RP Library v14.0.9.

Verified Platforms

⚠️ Other platforms may work but have not been tested yet.

Table of Contents

Features

See the project Wiki for the full feature list.

Ramp Ramp Texture

Crisp Shadows Soft Shadows Blob Shadows
Shadows VSM Shadows Blob Shadows

Tiled Lighting

Shader Graph

Screen-Space Outlines Inverted HullOutlines

Bloom SSAO

Installation

📝 Note: to install the package for an older Unity version, refer to the Installation page.

1. Add the package

Option 1

https://github.com/Delt06/toon-rp.git?path=Packages/com.deltation.toon-rp

Option 2

Add the following line to Packages/manifest.json:

"com.deltation.toon-rp": "https://github.com/Delt06/toon-rp.git?path=Packages/com.deltation.toon-rp",

2. Create a pipeline asset

Inside the Project window, right click and select Create/Toon RP/Toon Render Pipeline Asset.

3. Set the pipeline asset

Go to Edit/Project Settings/Graphics and set the field Scriptable Render Pipeline Settings with the newly created pipeline asset.

References

Used Assets