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.
Unity URP / Built-In Shader Toolkit
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 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
Separate URP and Built-In Render Pipeline toon shaders with shadow color, light threshold, softness, ambient fill, and direct light intensity controls.
Optional midtone band support for shadow → midtone → lit shading, giving artists more control than a basic two-band shader.
Horizontal ramp textures can define custom lighting bands for more specific stylized looks without needing endless sliders.
Maskable hue, saturation, brightness, and hue shift speed controls make it easier to create static color variants or animated color cycling looks.
Rim light, emission, matcap reflection, and glitter shimmer controls cover the main effects needed for anime, toy-like, and glossy materials.
An inverted hull outline pass adds controllable silhouette lines with width, color, and depth offset settings.
Custom Inspector
Pear includes a custom Unity ShaderGUI with grouped foldouts, preset buttons, feature toggles, a customizable accent color, and clearer controls for each stylized effect.
Material Comparison
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
The current presets lean into the project theme with soft pear-green, cream, and olive tones while staying useful for general stylized materials.
A clean neutral starting material with soft toon response and a simple pear-green base for building custom looks.
A soft, warm toon look with gentle shading, subtle rim light, and a friendly handmade feel.
A punchier graphic toon look with stronger banding, darker olive shadows, and a readable outline.
A sparkly pearlescent look with rim highlights and glitter shimmer for glossy toy-like surfaces.
Live Code Viewer
These panels pull directly from the GitHub repository so visitors can inspect the latest versions of the core Pear files without leaving the page.
Shader
Loading PearToon.shader...
Custom Inspector
Loading PearToonShaderGUI.cs...
Roadmap
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.
Polishing the demo scene, updating the website and README, preparing clean screenshots, and packaging a v0.2.0 release.
Pear Water, ScriptableObject presets, stronger outline tooling, performance modes, and a complete portfolio breakdown once the v0.2 presentation is locked.