Unity URP / Built-In Shader Toolkit

Stylized toon shading with approachable controls.

Pear is a cozy stylized Unity shader toolkit that started as an all-purpose shader for my own Unity projects and slowly turned into a focused standalone tool. It brings together ShaderLab/HLSL toon lighting, a custom material inspector, band controls, ramp textures, animated hue shifting, outline, rim light, emission, matcap reflection, glitter shimmer, and quick-look presets for URP and Built-In Render Pipeline workflows.

Pear Shader hero render showing stylized toon shading in motion

Pear is built to feel like a small production shader tool: readable code, organized controls, quick-look presets, validation warnings, and an inspector that is easier to work with than a wall of random sliders.

Current Features

Built for stylized material workflows.

URP / BiRP Toon Lighting

Separate URP and Built-In Render Pipeline toon shaders with shadow color, light threshold, softness, ambient fill, and direct light intensity controls.

Multi-Band Shading

Optional midtone band support for shadow → midtone → lit shading, giving artists more control than a basic two-band shader.

Ramp Texture Mode

Horizontal ramp textures can define custom lighting bands for more specific stylized looks without needing endless sliders.

Animated Hue Shift

Maskable hue, saturation, brightness, and hue shift speed controls make it easier to create static color variants or animated color cycling looks.

Stylized Effects

Rim light, emission, matcap reflection, and glitter shimmer controls cover the main effects needed for anime, toy-like, and glossy materials.

Outline Pass

An inverted hull outline pass adds controllable silhouette lines with width, color, and depth offset settings.

Custom Inspector

A shader UI that artists can actually use.

Pear includes a custom Unity ShaderGUI with grouped foldouts, preset buttons, feature toggles, a customizable accent color, and clearer controls for each stylized effect.

  • Grouped controls for Color & Surface, Toon Lighting, Stylized Effects, Outline, and Advanced
  • Feature toggles connected to local shader keywords
  • Quick-look preset buttons for Pear, Cozy, Bold, and Gloss
  • Custom styled inspector header with user-selectable UI accent color
  • Cleaner inline buttons for Midtone Band, Ramp Texture, and optional effects
Pear Shader custom Unity inspector
Pear Shader demo scene showing feature examples and quick-look presets

Material Comparison

A cleaner demo scene for the current toolkit.

The current demo scene shows focused feature examples for outline, rim, shimmer, matcap, and hue shift, alongside the four quick-look presets: Pear, Cozy, Bold, and Gloss.

Pear Presets

Four quick looks, one shared art direction.

The current presets lean into the project theme with soft pear-green, cream, and olive tones while staying useful for general stylized materials.

Pear

A clean neutral starting material with soft toon response and a simple pear-green base for building custom looks.

Cozy

A soft, warm toon look with gentle shading, subtle rim light, and a friendly handmade feel.

Bold

A punchier graphic toon look with stronger banding, darker olive shadows, and a readable outline.

Gloss

A sparkly pearlescent look with rim highlights and glitter shimmer for glossy toy-like surfaces.

Live Code Viewer

Here is the current shader and inspector source.

These panels pull directly from the GitHub repository so visitors can inspect the latest versions of the core Pear files without leaving the page.

Custom Inspector

PearToonShaderGUI.cs

Open on GitHub
Loading PearToonShaderGUI.cs...

Roadmap

What is coming next.

Done

Base URP and BiRP toon shaders, toon bands, midtone band, ramp texture mode, animated hue shifting, rim light, emission, matcap reflection, glitter shimmer, outline, Pear/Cozy/Bold/Gloss presets, validation warnings, and custom inspector UI.

Now

Polishing the demo scene, updating the website and README, preparing clean screenshots, and packaging a v0.2.0 release.

Later

Pear Water, ScriptableObject presets, stronger outline tooling, performance modes, and a complete portfolio breakdown once the v0.2 presentation is locked.