Skip to content

Commit

Permalink
Merge branch 'lilxyzw:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
ishiiyuki authored Sep 4, 2023
2 parents 659ec80 + 31c6e39 commit 207477d
Show file tree
Hide file tree
Showing 93 changed files with 667 additions and 319 deletions.
8 changes: 8 additions & 0 deletions Assets/lilToon/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.4.1] - 2023-09-04
### Fixed
- `Fix Lighting` does not work properly when bones are missing
- Some properties cannot be saved in presets
- Duplicate TEXCOORD in custom shaders
- Tessellation does not work properly when changing scale
- Enable stencil in `DepthOnly`, `DepthNormals` and `MotionVectors` for URP

## [1.4.0] - 2023-05-12
### Added
- Mask by vertex id
Expand Down
8 changes: 8 additions & 0 deletions Assets/lilToon/CHANGELOG_JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.4.1] - 2023-09-04
### 修正
- ボーンが不足している場合に`Fix Lighting`が正しく動作しないのを修正
- 一部プロパティがプリセットに保存できないのを修正
- カスタムシェーダーでTEXCOORDが重複するのを修正
- スケールの変更でテッセレーションが正常に動作しない問題を修正
- URPの`DepthOnly``DepthNormals``MotionVectors`パスでステンシルを使うように修正

## [1.4.0] - 2023-05-12
### 追加
- 頂点IDによるマスクを追加
Expand Down
33 changes: 33 additions & 0 deletions Assets/lilToon/CustomShaderResources/URP/Default.lilblock
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,17 @@
{
Name "DEPTHONLY"
Tags {"LightMode" = "DepthOnly"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down Expand Up @@ -176,6 +187,17 @@
{
Name "DEPTHNORMALS"
Tags {"LightMode" = "DepthNormals"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down Expand Up @@ -207,6 +229,17 @@
{
Name "MOTIONVECTORS"
Tags {"LightMode" = "MotionVectors"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down
33 changes: 33 additions & 0 deletions Assets/lilToon/CustomShaderResources/URP/DefaultFur.lilblock
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,17 @@
{
Name "DEPTHONLY"
Tags {"LightMode" = "DepthOnly"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down Expand Up @@ -177,6 +188,17 @@
{
Name "DEPTHNORMALS"
Tags {"LightMode" = "DepthNormals"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down Expand Up @@ -208,6 +230,17 @@
{
Name "MOTIONVECTORS"
Tags {"LightMode" = "MotionVectors"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,17 @@
{
Name "DEPTHONLY"
Tags {"LightMode" = "DepthOnly"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down Expand Up @@ -226,6 +237,17 @@
{
Name "DEPTHNORMALS"
Tags {"LightMode" = "DepthNormals"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down Expand Up @@ -257,6 +279,17 @@
{
Name "MOTIONVECTORS"
Tags {"LightMode" = "MotionVectors"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down
33 changes: 33 additions & 0 deletions Assets/lilToon/CustomShaderResources/URP/DefaultGem.lilblock
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,17 @@
{
Name "DEPTHONLY"
Tags {"LightMode" = "DepthOnly"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down Expand Up @@ -172,6 +183,17 @@
{
Name "DEPTHNORMALS"
Tags {"LightMode" = "DepthNormals"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down Expand Up @@ -203,6 +225,17 @@
{
Name "MOTIONVECTORS"
Tags {"LightMode" = "MotionVectors"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down
33 changes: 33 additions & 0 deletions Assets/lilToon/CustomShaderResources/URP/DefaultLite.lilblock
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,17 @@
{
Name "DEPTHONLY"
Tags {"LightMode" = "DepthOnly"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down Expand Up @@ -177,6 +188,17 @@
{
Name "DEPTHNORMALS"
Tags {"LightMode" = "DepthNormals"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down Expand Up @@ -208,6 +230,17 @@
{
Name "MOTIONVECTORS"
Tags {"LightMode" = "MotionVectors"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,17 @@
{
Name "DEPTHONLY"
Tags {"LightMode" = "DepthOnly"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down Expand Up @@ -225,6 +236,17 @@
{
Name "DEPTHNORMALS"
Tags {"LightMode" = "DepthNormals"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down Expand Up @@ -256,6 +278,17 @@
{
Name "MOTIONVECTORS"
Tags {"LightMode" = "MotionVectors"}

Stencil
{
Ref [_StencilRef]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
Comp [_StencilComp]
Pass [_StencilPass]
Fail [_StencilFail]
ZFail [_StencilZFail]
}
Cull [_Cull]
ZClip [_ZClip]
ZWrite [_ZWrite]
Expand Down
Loading

0 comments on commit 207477d

Please sign in to comment.