NonToon is a modular shader for Unity that combines Physically Based Rendering (PBR) and Non-Photorealistic Rendering (NPR) techniques, built on the Shader Core system.

Stars

168

7-day growth

No data

Forks

4

Open issues

5

License

Zlib

Last updated

2026-07-14

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

Its modular architecture allows easy extension and reuse of components, and it integrates a wide range of character-focused features like ramped shading, hair specular, rim lights, and vertex-color-controlled outlines within a single shader.

Who it is for

  • VRChat avatar creators seeking stylized yet physically plausible rendering
  • Unity shader developers interested in modular shader design
  • 3D character artists working on toon or semi-realistic characters

Use cases

  • Creating anime-style avatars with realistic lighting and specular highlights
  • Adding detail textures, normal maps, and rim light to existing characters
  • Building custom shader modules for specialized rendering effects

Strengths

  • Modular system based on Shader Core enables easy feature addition and reuse
  • Supports multiple rendering modes: opaque, cutout, dithered, transparent, and fur
  • Includes shared mask textures, four detail texture channels, and SDF texture support
  • Outlines are adjustable via vertex color for thickness and inward offset

Considerations

  • Documentation is only in Japanese (though machine translation is considered adequate by the author)
  • No platform-specific features; platform support is left to external modules
  • Feature additions are limited to essential character expressions; non-essential features are not added to the core

README quick start

NonToon

PBRの手法とNPRの手法を組み合わせたシェーダーです。

開発中であるため、仕様が大幅に変更される可能性があります。

開発段階のツイート

インストール

vpmでインストールできます。

主な機能

  • 不透明、カットアウト、ディザ、半透明、ファー
  • 各機能のマスクとして使える共有マスクテクスチャ
  • ノーマルマップ
  • 影のオフセット
  • アウトライン(頂点カラーによって太さや奥へのオフセットが可能)
  • RGBAでマスク可能な4つのディテールテクスチャ・ノーマルマップ
  • スペキュラー
  • 瞳の発光などに使える明るさのブースト
  • リムシェード
  • Rampテクスチャによる陰影表現
  • SDFテクスチャ
  • 加算マットキャップ・乗算マットキャップ
  • 異方性反射を応用したヘアスペキュラー
  • リムライト
  • 距離フェード
  • ステンシル

仕様

  • モジュール型シェーダーシステムShader Coreを使用しているためモジュールをインストールするだけで拡張可能です。
  • 本体の機能もほとんどがモジュールとして定義されているため、別のシェーダーで利用することができます。

対応しないこと

  • ドキュメントは日本語のみです。ブラウザなどの機械翻訳で十分読める上、仮に私が英語のドキュメントを書く場合には機械翻訳を使用するため結果として品質がほとんど変わらないためです。
  • 機能の追加はキャラクター表現必須に近いと思われるもの以外には基本的に行われません。ほとんど使われない不要な機能であふれかえるのを防ぎ、本体を最小限に保つためです。代わりにモジュールで拡張していきます。
  • プラットフォーム固有の機能には対応しません。こちらもモジュールで対応します。
  • アウトラインの太さをマスクテクスチャで制御することには対応していません。頂点単位の処理は頂点データで行われるべきであるためです。代わりにlilOutlineSmootherでテクスチャを頂点カラーに焼き込むことができます。

Description

A shader combining PBR and NPR

Related repositories

Similar projects matched by category, topics, and programming language.

AshenOneArt
AshenOneArt GitHub avatar

HPVolumeCloud

A Unity HDRP volume cloud system that adds a physically-based isotropic multiple scattering term (phi_fwd) to thick clouds, improving internal illumination and side/bottom lighting.

HLSL
67