Skip to content

simplestargame/SimpleURPToonLitOutlineExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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