# ColinLeung-NiloCat/UnityURPToonLitShaderExample

A very simple toon lit shader example, for you to learn writing custom lit shader in Unity URP

Repository: https://github.com/ColinLeung-NiloCat/UnityURPToonLitShaderExample
Canonical: https://ross.abutalabs.com/products/unityurptoonlitshaderexample
Homepage: https://www.youtube.com/channel/UCsvlGOZyqjd68ZUUmgqwj0g
Language: ShaderLab
License: MIT
License Family: permissive
Topics: outline, character, urp, shader, hlsl, toon, lit, unity
Last push: 2026-07-02T12:14:30+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 35, longevity 100
- inputs: {"age_days": 2362, "days_push": 62, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7747, forks 1874 (observed 2026-08-28T04:10:02.764542+00:00)

## What it is
A simple, easy-to-read toon lit shader example for Unity's Universal Render Pipeline (URP), intended as a shader coding tutorial. It demonstrates writing custom lit shaders in HLSL with outline support for character rendering.

## Use cases
- learn writing custom toon lit shaders in Unity URP
- add cel-shaded look to game characters
- implement outline rendering for characters
- study HLSL shader code examples for URP
- create anime-style character rendering in Unity

## When to choose
- you want a minimal, readable example to learn URP shader coding
- you need a simple toon shader with outlines for Unity characters
- you are learning HLSL within Unity's render pipeline

## When to avoid
- you need a production-ready full-featured toon shader suite (use NiloToonURP full version)
- you are not using Unity URP
- you need shaders for other engines like Unreal or Godot

## Facets
- artifact type: learning-resource
- maturity: active
- function: graphics, game-engine
- domain: graphics, tutorials
- platform: game-engine, cross-platform
- tags: unity, urp, toon-shader, hlsl, shader-tutorial, outline, cel-shading, game-development

## Member repositories
- ColinLeung-NiloCat/UnityURPToonLitShaderExample (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:02.764542+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:35:09.727557+00:00, confidence not recorded.
  - readme: https://github.com/ColinLeung-NiloCat/UnityURPToonLitShaderExample (fetched 2026-08-28T04:10:02.764542+00:00, sha e37f4ea7c216)
  - homepage: https://www.youtube.com/channel/UCsvlGOZyqjd68ZUUmgqwj0g (fetched 2026-08-29T08:31:09.272281+00:00, sha 44136fa355b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
