An easy to use stylized unity shader made with non technical users in mind π
Unity Project
Download the source from GitHub
README
Rendered from GitHubPear π Shader
A cozy stylized Unity shader toolkit for URP and Built-In Render Pipeline with toon lighting, quick-look presets, and artist friendly controls.
View Website Β· Download Unity Package
β¨ Installation
Download the latest .unitypackage from the Releases page:
https://github.com/GuMoraes11/Pear-Shader/releases
Then import it into Unity:
- Open your Unity project.
- Go to
Assets > Import Package > Custom Package. - Select the latest Pear
.unitypackage. - Import the
Assets/Pearfolder.
Use the correct shader for your render pipeline:
- URP:
Pear/URP/Toon - Built-In Render Pipeline:
Pear/BiRP/Toon
β¨ Overview
Pear is a cozy stylized shader toolkit for Unity. It is meant to give artists, technical artists, and non-technical users a cleaner way to control toon shading, color, outlines, and stylized material effects without digging through a messy wall of shader properties.
It started as a shader for my own Unity projects, then grew into a more focused technical art portfolio project.
Pear currently includes:
- URP toon shader:
Pear/URP/Toon - Built-In Render Pipeline toon shader:
Pear/BiRP/Toon - Custom ShaderLab/HLSL toon lighting
- Two-band and three-band toon shading
- Ramp texture support
- Static and animated hue shifting
- Rim light, emission, matcap reflection, glitter shimmer, and outline controls
- A custom Unity material inspector
- Material validation warnings and keyword sync tools
- Four quick-look presets: Pear, Cozy, Bold, and Gloss
The goal is not to become a giant all-purpose shader package. Pear is intentionally smaller, readable, and focused on clean shader code, usable editor tooling, and polished stylized results.
β¨ Features
Toon Lighting
- Shadow threshold, softness, color, intensity, and ambient color controls.
Multi-Band Shading
- Optional midtone band for shadow β midtone β light workflows.
Ramp Texture Support
- Custom shading control through horizontal ramp textures.
Animated Hue Shift
- Maskable hue, saturation, brightness, and hue shift speed controls.
- Hue shift can be static, or animated over time for color-cycling effects.
Pear Quick-Look Presets
- Pear, Cozy, Bold, and Gloss looks tuned around a cohesive pear-green, cream, and olive palette.
Stylized Effects
- Rim light, emission, matcap reflection, and glitter shimmer controls.
Outline Pass
- Inverted hull outline with width, color, and depth offset controls.
- Note: inverted hull outlines can behave poorly on hard-edged meshes with split normals, such as Unity's default cylinder. Smooth, rounded, or custom meshes work best.
Custom Inspector UI
- Foldout groups, feature toggles, preset buttons, keyword reset, validation warnings, and a customizable accent color.
β¨ Current Presets
Pear currently has four quick-look presets:
- Pear β a clean neutral starting material with soft toon response and a pear-green base.
- 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.
The presets are meant to show different material directions while still feeling like they belong to the same shader family. They are simple on purpose: enough to demonstrate the system clearly, without making the project feel scattered.
β¨ Demo Scene
The current demo scene is built around two rows:
- Feature examples: Outline, Rim, Shimmer, Matcap, and Hue Shift.
- Preset examples: Pear, Cozy, Bold, and Gloss.
This scene is intended for screenshots, GIFs, website images, and quick visual testing inside Unity.
β¨ Project Focus
Pear is currently focused on:
- Polishing the v0.2 demo scene
- Updating screenshots and website copy
- Packaging a clean
PearShader_v0.2.0.unitypackage - Keeping the shader, inspector, and presets readable enough for a portfolio review
Future work may include Pear Water, ScriptableObject-based presets, stronger outline tooling, performance modes, and a more complete breakdown of the shader architecture.
π License
MIT License
Versions 0
No versions tracked yet.
Dependencies 45
Changelog 0 releases
No changelog entries yet. Run the admin Changelog & Version Scanner to pull from the repository's CHANGELOG.md.
Comments
No comments yet. Be the first!


Sign in to join the conversation
Sign In