Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiliMilk committed Jun 3, 2022
1 parent 4315e37 commit 170c067
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
## Introduction
Simple toon shader in unity universal pipeline.

![image-UnityChan](image/UnityChan.png)
![image-UnityChan](image/UnityChan.png)

Genshin Impact Style(Model and Texture from miHoYo)

![image-Genshin_Sample](image/Genshin_Sample.gif)

## Properties
### SurfaceOptions
Expand All @@ -40,11 +44,11 @@ Shadows based on rampmap.
Used for face shadow, sample a precomputed shadow mask to generate shadows.
Limit:symmetrical face uv.

![SDFMask](image\SDFMask.png)
![image-SDFMask](image\SDFMask.png)

Need to add a script to the object, set the forward and left direction(ObjectSpace).

![SDFScript](image\SDFScript.png)
![image-SDFScript](image\SDFScript.png)

About how to generate sdf shadow mask.
Node:Generate mask in r16 format(antialiasing).
Expand Down
Binary file added image/Genshin_Sample.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 170c067

Please sign in to comment.