toonOrganic.shader
- .metadata15 B
- README.md736 B
- preview.png3.3 KB
- properties.yaml911 B
- shader.wgsl3.0 KB
README.md
toonOrganic
The cel shader of organicMaterials' toon set (leafToon, scalesToon, skinToon), adapted from fabricsMaterials' toonFabric (MIT). The sun is cut into quantize_steps flat bands; the darkest keeps shadow_lift of the light and is tinted by shadow_tint (rose for cartoon skin). rim adds a hard pale band at grazing angles. For cut-out cards, alpha_cutoff discards the transparent part of the texture and backlight / backlight_color make a thin card glow as one flat band when the sun is behind it. Two-sided, one sampled texture. It lights itself (fragment() body), so the capture tool's albedo / roughness / metallic passes draw it magenta (engine issue #21225); its final and normal views are normal.