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.
π¨ Developed and verified with Unity 2022.3.12f1 LTS and Core RP Library v14.0.9.
- Windows (DirectX 11, DirectX 12, Vulkan, OpenGL)
- Android (OpenGL ES 3.0+, Vulkan)
- WebGL 2.0
- XR (see XR Wiki page for full info)
β οΈ Other platforms may work but have not been tested yet.
See the project Wiki for the full feature list.
- Full customization of the lighting ramp: arbitrary threshold, smoothness, and number of steps.
- Shadows: multiple options for soft shadows and stylization.
Crisp Shadows | Soft Shadows | Blob Shadows |
---|---|---|
- Optional Tiled Lighting (Forward+): render many realtime lights.
π Note: to install the package for an older Unity version, refer to the Installation page.
- Open Package Manager through
Window/Package Manager
- Click "+" and choose "Add package from git URL..."
- Insert the URL:
https://github.com/Delt06/toon-rp.git?path=Packages/com.deltation.toon-rp
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",
Inside the Project window, right click and select Create/Toon RP/Toon Render Pipeline Asset
.
Go to Edit/Project Settings/Graphics
and set the field Scriptable Render Pipeline Settings
with the newly created pipeline asset.