← back

yum-archive/Tooner

A toon shader for Unity's BIRP.

git clone https://git.yummers.dev/yum-archive/Tooner

yumRemove everything except headers, LICENSE and README from LTCGI69a2a65

v0.0.0
2 folders19 files

files

Editor/
Third_Party/at.pimaker.ltcgi/
LICENSE1.0 KiB
README.md1.6 KiB
audiolink.cginc266 B
clones.cginc998 B
globals.cginc2.4 KiB
interpolators.cginc1010 B
iq_sdf.cginc3.4 KiB
math.cginc2.6 KiB
mochie_shadow_caster.cginc2.1 KiB
motion.cginc1.7 KiB
oklab.cginc3.4 KiB
pbr.cginc4.8 KiB
pema99.cginc1.3 KiB
poi.cginc1.9 KiB
shadertoy.cginc741 B
tooner.shader11.9 KiB
tooner_lighting.cginc21.1 KiB
tooner_outline_pass.cginc9.6 KiB
tooner_scroll.cginc1004 B

Tooner

A toon shader for VRChat.

Features:

Disclaimers:

  1. This is a WIP.
  2. I am not a graphics expert.
  3. Stability is a non-goal. Keywords are likely to change in the interest of performance and simplicity.

Strawman FAQ

  1. Why create another toon shader?

To deepen my understanding of lighting and to have a "simple" foundation on top of which to create bespoke shader effects. lilToon and Poiyomi are both way too fucking huge and complicated to fit my needs.

  1. Does it work?

Sort of. I haven't implemented shadow receiving yet, so some water effects are fucked up.

  1. Is it optimized?

Sort of. I haven't benchmarked it. I know it's slower than Poiyomi.

I use keywords on every feature so it shouldn't be obscenely bad. But I haven't gotten to the point of like, deduplicating all computation and shoving as much as possible into the vertex shader. So it's like. Sort of optimized.

I'd like to strike a balance between performance and readability. Since it's mostly for my use, I don't feel a need to make it totally optimal.

  1. Demos?

This avatar uses it: gumroad.

I'm working on a world but haven't published yet.

Will update this section with real demos later.