This page is documenting some toonshader based on my knowledge.
color
basecolor
light color
simple vrchat mobile : #if defined(_LIGHTCOLOR_ON) Light mainLight = GetMainLight(); half3 ambientTint = SampleSH(half4(0.0h, 0.0h, 0.0h, 1.0h)).rgb * 0.2h; half3 lightTint = mainLight.color * (mainLight.distanceAttenuation * mainLight.shadowAttenuation); half3 tint = max(ambientTint, lightTint); outColor.rgb *= tint; #endif
shading shadow
(smooth)step 2/3....(n)? sphere function... lambert
outline plan
normal
- camera
sobel
z
highlight
blinnphong pow
GGX half vector
(aniso)
rimlight
inner outer mask