
アバターを用いたサービス(VRChat等)向けに開発したシェーダーで以下のような特徴があります。
● 簡単(プリセットからワンクリック設定&自作プリセットの保存、色調補正機能による色替え&テクスチャ書き出し)
● 美麗(白飛び防止、水中などでの透け防止、アンチエイリアスシェーディング)
● 軽量(エディタが自動でシェーダーを書き換えて機能をオンオフ)
● 長期間、様々な環境で利用可能(Unity2017~2021、BRP/LWRP/URP/HDRP)
● Unityの全ライティングに対応しStandardShaderに近い明るさに
This shader, developed for avatar-based services (such as VRChat), has the following features: ● Easy to use (one-click setup from presets & saving of custom presets, color correction function for color changes & texture export) ● Beautiful (prevention of overexposure, prevention of transparency in water, etc., anti-aliasing shading) ● Lightweight (editor automatically rewrites the shader to turn functions on and off) ● Long-term usability in various environments (Unity 2017-2021, BRP/LWRP/URP/HDRP) ● Supports all Unity lighting and achieves brightness close to that of Standard Shader
Main Features ● Main color x3 layers (decals, layer masks, GIF animations, normal, additive, multiply, and screen blending support) ● Color correction, UV scrolling & rotation ● Highly flexible shadows (3 shadows, SSS, ambient light blending, AO mask allows adjustment of shadow intensity) ● Emission x2 layers (animation, masks, blinking, time-dependent color changes, parallax support) ● Normal map x2 layers ● Specular reflection ● Mattcap (Z-axis rotation cancellation, normal, additive, multiply, and screen blending support) ● Rim light ● Outline (color specification by texture, masks, vertex color and thickness correction based on distance) ● Fur, refraction ● Distance clipping canceller (doesn't disappear even when too close) ● Distance fade (changes color depending on distance) ● AudioLink (animates materials in sync with sound in compatible VRChat worlds) ● Tessellation (automatic high-poly conversion, high load, suitable for video production) ● Mesh encryption (requires separate installation of AvatarEncryption) Features that are not commonly used are disabled by default, so please enable the features you need from the shader settings. For more detailed specifications, please refer to the documentation: https://lilxyzw.github.io/lilToon/
license This project is released under the MIT License. The license (copyright and permission notice) is included within the unitypackage, so it can be included directly in products for sale or distribution.
Logo data You can download the logo data from here. You can use it as a thumbnail on sales sites like BOOTH, and include it in your artwork; no license information is required on the product page. You can also change the color and resolution to create an image that matches your artwork. https://github.com/lilxyzw/lilToon/tree/master/logo
Reference ● UnlitWF (whiteflare) / https://github.com/whiteflare/Unlit_WF_ShaderSuite I referenced many parts of both the script and shader, including the fur shader and property deletion function. ● Arktoon-Shaders (synqark) / https://github.com/synqark/Arktoon-Shaders I referenced the shadow settings section. ● MToon (Santarh) / https://github.com/Santarh/MToon I compared various parameters when implementing the conversion to MToon (VRM). ● GTAvaCrypt (rygo6) - https://github.com/rygo6/GTAvaCrypt ● Optimized inverse trigonometric function (seblagarde) https://seblagarde.wordpress.com/2014/12/01/inverse-trigonometric-functions-gpu-optimization-for-amd-gcn-architecture/ ● Parallax occlution mapping (copocopo) https://coposuke.hateblo.jp/entry/2019/01/20/043042
credit The following models and textures were borrowed for the creation of the sample images. (They are not included in the contents) Chiffon (Amatousagi) - https://komado.booth.pm/items/5354471 Yumeiro One Piece (Homupeji) - https://pii34.booth.pm/items/5222688 Cute Hairpin Set (MS Space Trading Co.) - https://nintensiguma-vr.booth.pm/items/3503047 Poly Haven - https://polyhaven.com/ 3D TEXTURES - https://3dtextures.me/
