/SimpleURPToonLitOutlineExample

SimpleURPToonLitOutlineExample

Primary LanguageHLSLMIT LicenseMIT

SimpleURPToonLitOutlineExample

image Test VRM from https://codealdnoah.booth.pm/

castAndRecieveShadow
Cast and recieve shadows

What is this ?

Unity URP (Universal Render Pipeline) Toon Lit Shader for UniVRM Runtime Load.

Environment

Unity 2021.3.0f1 with URP or later.

How to use

  1. Download .unitypackage.
  2. Import the .unitypackage with UniVRM.
  3. Replace "\Assets\VRMShaders\GLTF\IO\Runtime\Material\Importer\MaterialFactory.cs"(UniVRM) with "\Assets\SimplestarGame\SimpleURPToonLitOutlineExample\Scripts\MaterialFactory.cs"(This Package).

Base Code

The base shader code is Unity URP Simplified Toon Lit Shader Example (for you to learn writing custom lit shader in URP)

Unity-Technologies Custom Lighting Shader Graph

This package uses ShaderGraph-Custom-Lighting