← back

yum-archive/2ner

A toon shader for Unity's BIRP.

git clone https://git.yummers.dev/yum-archive/2ner

yumWork around thry locking bug05c4ba0

master
8 folders46 files
languages

files

Editor/
LUTS/
Materials/
Meshes/
Scenes/
Scripts/
Textures/
Third_Party/
.gitignore50 B
2ner.cginc18.0 KiB
2ner.shader206.9 KiB
LICENSE1.0 KiB
LightVolumes.cginc39.4 KiB
README.md682 B
SharedFilteringLib.hlsl1.6 KiB
SharedSamplingLib.hlsl86.2 KiB
UnityStandardCoreMinimal.cginc2.9 KiB
UnityStandardMeta.cginc5.1 KiB
audiolink.cginc240 B
cnlohr.cginc3.5 KiB
custom30.cginc11.1 KiB
data.cginc285 B
decals.cginc48.6 KiB
disinfo.cginc2.6 KiB
eyes.cginc4.4 KiB
face_me.cginc2.7 KiB
false_color_visualization.cginc928 B
features.cginc17.5 KiB
filamented.cginc51.1 KiB
fog.cginc9.3 KiB
glitter.cginc3.1 KiB
globals.cginc21.5 KiB
harnack_tracing.cginc5.3 KiB
interpolators.cginc1.3 KiB
letter_grid.cginc2.7 KiB
ltcgi.cginc889 B
matcaps.cginc7.9 KiB
math.cginc10.5 KiB
mochie_shadow_caster.cginc1.1 KiB
oklab.cginc3.5 KiB
pema99.cginc1.4 KiB
poi.cginc2.2 KiB
quilez.cginc5.1 KiB
shatter_wave.cginc3.6 KiB
ssao.cginc2.4 KiB
ssfd.cginc1.8 KiB
tessellation.cginc7.0 KiB
texture_utils.cginc639 B
trochoid.cginc3.7 KiB
unigram_letter_grid.cginc74.0 KiB
vertex_domain_warping.cginc1.1 KiB
yum_brdf.cginc10.9 KiB
yum_lighting.cginc13.7 KiB
yum_pbr.cginc11.6 KiB

2ner: a toon shader

2ner is a toon shader for Unity's built in render pipeline. It is my second toon shader, replacing github.com/yum-food/Tooner.

It's a ground-up rewrite taking into account some key lessons from last time:

  1. Performance perfectionism really is required for realtime graphics 1.1. "You don't pay for what you don't use" must be respected!
  2. Tooling is absolutely required to mitigate performance creep, minimize compilation times, and reduce the risk of hitting compiler bugs. 2.1. Yes, I have hit compiler bugs!

As with Tooner, it is an all encompassing uber shader. The goal is to expose feature rich abstractions for both avatars and worlds.