Skip to content

Commit b383379

Browse files
committed
Merge branch 'feature/installable_samples' into development/v1
2 parents 0882e1f + f0eeee2 commit b383379

File tree

18 files changed

+86
-41
lines changed

18 files changed

+86
-41
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,10 @@ To install this package, follow the instructions in the [Package Manager documen
5858

5959
If you installed this package, Unity Toon Shader files are installed into **com.unity.toonshader** folder under **Packages** folder in your Unity project.
6060

61-
To get the sample scenes of Unity Toon Shader, download whole project from [here](https://github.com/Unity-Technologies/com.unity.toonshader/archive/refs/heads/development/v1.zip).
61+
To get the sample scenes of Unity Toon Shader, Install samples via `Package Manager` for each render pipeline. The instruction to install the samples is [here](com.unity.toonshader/Documentation~/index.md#Samples).
6262

63-
Each sample project is below.
64-
* Legacy(built-in) : under **UnityToonshader_Project~** folder
65-
* HDRP : under **UnityToonshader_ProjectHDRP~** folder
66-
* URP : under **UnityToonshader_ProjectURP~** folder
63+
You can learn various setting examples of Unity Toon Shader.
6764

68-
The project comes with sample scenes where you can learn various setting examples of Unity Toon Shader.
6965

7066

7167
<a name="UsingUnitychanToonShader2"></a>

com.unity.toonshader/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Changelog
2+
## [0.0.7-preview] - 2021-06-14
3+
* Made samples insstallable.
4+
25
## [0.0.6-preview] - 2021-06-04
36
* Modifed documents
47

com.unity.toonshader/Documentation~/en/README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,9 @@ To install this package, follow the instructions in the [Package Manager documen
5858

5959
If you installed this package, Unity Toon Shader files are installed into **com.unity.toonshader** folder under **Packages** folder in your Unity project.
6060

61-
To get the sample scenes of Unity Toon Shader, download whole project from [here](https://github.com/Unity-Technologies/com.unity.toonshader/archive/refs/heads/development/v1.zip).
61+
To get the sample scenes of Unity Toon Shader, Install samples via `Package Manager` for each render pipeline. The instruction to install the samples is [here](../index.md#Samples).
6262

63-
Each sample project is below.
64-
* Legacy(built-in) : under **UnityToonshader_Project~** folder
65-
* HDRP : under **UnityToonshader_ProjectHDRP~** folder
66-
* URP : under **UnityToonshader_ProjectURP~** folder
67-
68-
The project comes with sample scenes where you can learn various setting examples of Unity Toon Shader.
63+
You can learn various setting examples of Unity Toon Shader.
6964

7065

7166
<a name="UsingUnitychanToonShader2"></a>
160 KB
Loading
201 KB
Loading
143 KB
Loading
159 KB
Loading

com.unity.toonshader/Documentation~/index.md

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Unity Toon Shader 0.0.6-preview Manual
1+
# Unity Toon Shader 0.0.7-preview Manual
22
***Read this document in [日本語版](ja/index_ja.md)***
33

44
[![](images/SDUnitychan_URP.png)](https://www.youtube.com/watch?v=TfZ8B409uqM)
@@ -49,7 +49,7 @@ Several techniques have been implemented to beautifully display characters in a
4949
See for yourself by coloring your best character model with Unity Toon Shader.
5050
You may be surprised to see your character looking better than ever before.
5151

52-
This manual focuses on the latest version of Unity Toon Shader: **Unity Toon Shader v.0.0.6-preview**.
52+
This manual focuses on the latest version of Unity Toon Shader: **Unity Toon Shader v.0.0.7-preview**.
5353
In this manual, the screen of Unity Toon Shader for Universal Render Pipeline is used as an example, but the ones for the Legacy (Built-in) and HDRP versions are alomost the same with URP, so please read it accordingly.
5454

5555
## 【Start using Unity Toon Shader】
@@ -81,9 +81,9 @@ The Toon shader should be switched to match the pipeline.
8181

8282

8383
## 【Unity Toon Shader as an Uber Shader】
84-
UTS2 v.2.0.7.5 was divided into multiple shaders by function.
84+
UTS2 v.2.0.7.5 consisted of various specialized feature shaders. Now, all the shaders are integrated into two uber shaders. The difference between two shaders is just one is ready for tessellation but the other is not..
8585

86-
<img width = "480" src="images/UTS2_Standard.png">
86+
<Img width = "480" src="images/UTS2_Standard.png">
8787

8888
Unity Toon Shader has been redesigned as an integrated shader (Uber shader), allowing you to do all the work in one Universal Render Pipeline/Toon shader.
8989

@@ -208,8 +208,25 @@ Most of them are integrated into the basic shader functionality.</small>
208208
<small>It was deprecated in Unity Toon Shader</small>.
209209

210210
---
211-
# Sample Scenes
212-
The following sample scenes can be found by opening the sample project and opening the `\UnityToonshader_ProjectURP~\Assets\Sample Scenes(Universal)` folder.
211+
# Samples
212+
Sample scenes are installable from the package manager.
213+
Please, make shure that HDRP or URP is installed and set up before installing the samples for each.
214+
215+
<img width = "400" src="images/InstallingSamples.png">
216+
217+
Samples for Universal RP require `UTS2URPPipelineAsset` to be set in `Project Setting` dialog.
218+
219+
<img width = "400" src="images/URP-Asset.png">
220+
221+
Ones for HDRP require `HDRenderPipelineAsset_UTS` asset as well.
222+
223+
<img width = "400" src="images/HDRP-Asset.png">
224+
225+
The Color Space must be set to `Linear`.
226+
227+
<img width = "400" src="images/SelectLinearColorSpace.png">
228+
229+
The following sample scenes can be found by opening the sample project and opening the `Assets\Samples\Unity Toon Shader\0.0.7-preview\Universal RP\Sample Scenes(Universal)` folder.
213230

214231
* ToonShader.unity :Settings for an illustration-style shader.
215232
* ToonShader_CelLook.unity :Settings for a cel-style shader.
@@ -232,8 +249,8 @@ They should come in handy as an example when creating your own scenes.
232249

233250
**NOTE**
234251
Sample scenes for other render pipeline can be found in the following folder.
235-
* for Legacy (Built-in):`\UnityToonshader_Project~\Assets\Legacy\Sample Scenes` folder
236-
* for HDRP:`\UnityToonshader_ProjectHDRP~\Assets\HDRP` folder
252+
* for Legacy (Built-in):`Assets\Samples\Unity Toon Shader\0.0.7-preview\Legacy (built-in)\Runtime` folder
253+
* for HDRP:`Assets\Samples\Unity Toon Shader\0.0.7-preview\High definition render pipeline\Runtime` folder
237254

238255

239256
# Unity Toon Shader Setting Menu:Unity Toon Shader Custom Inspector

com.unity.toonshader/Documentation~/ja/README_ja.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,13 @@ Unity Toon Shaderでは、アクセントカラーとして**2影色とAp(対蹠
5757
## 【Unity Toon Shader のインストール】
5858
本パッケージをインストールすると、Unity Toon Shaderのファイルは、Unityプロジェクトの**Packages**フォルダ内の**com.unity.toonshader**フォルダにインストールされます。
5959

60-
Unity Toon Shaderのサンプルシーンを入手するには、[こちら](https://github.com/Unity-Technologies/com.unity.toonshader/archive/refs/heads/development/v1.zip)からプロジェクト全体をダウンロードしてください。
60+
To get the sample scenes of Unity Toon Shader, Install samples via `Package Manager` for each render pipeline. The instruction to install the samples is [here](../index.md#InstallingSamples).
6161

62-
各サンプルプロジェクトは、以下のようになっています。
63-
* Legacy(built-in) : **UnityToonshader_Project~** フォルダ内
64-
* HDRP : **UnityToonshader_ProjectHDRP~** フォルダ内
65-
* URP : **UnityToonshader_ProjectURP~** フォルダ内
62+
You can learn various setting examples of Unity Toon Shader.
6663

67-
プロジェクトには、Unity Toon Shaderの様々な設定例を学べるサンプルシーンが用意されています。
64+
Unity Toon Shaderのサンプルシーンは、`Package Manager`からインストールをお願いいたします。インストール方法は[こちら](index_ja.md#サンプルシーン)
65+
66+
Unity Toon Shaderの様々な設定例を学べるサンプルシーンが用意されています。
6867

6968

7069

com.unity.toonshader/Documentation~/ja/index_ja.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Unity Toon Shader 0.0.6-preview マニュアル
1+
# Unity Toon Shader 0.0.7-preview マニュアル
22
***Read this document in [English](../index.md)***
33

44
[![](../images/SDUnitychan_URP.png)](https://www.youtube.com/watch?v=TfZ8B409uqM)
@@ -49,7 +49,7 @@ Unity Toon Shader は、セルルック3DCGアニメーションの制作現場
4949
是非、貴方のご自慢のキャラクターモデルをUnity Toon Shaderで彩ってみてください。
5050
今まで以上に、キャラクターが美しく表現されるものと思います。
5151

52-
本マニュアルは、Unity Toon Shader の最新版 **Unity Toon Shader v.0.0.6-preview** 向けに書かれています。
52+
本マニュアルは、Unity Toon Shader の最新版 **Unity Toon Shader v.0.0.7-preview** 向けに書かれています。
5353
またマニュアル中では、Universal Render Pipeline版のUnity Toon Shaderの画面を例として使用しますが、Legacy(Built-in)およびHDRP版に関しましても、ほぼ同様の画面となっていますので、適宜読み替えてください。
5454

5555
## 【Unity Toon Shaderを使い始める】
@@ -204,8 +204,26 @@ Render Queueに設定する値について、より詳しく知りたい場合
204204
<small>Unity Toon Shader では廃止されました。</small>
205205

206206
---
207+
<a name="InstallingSamples"></a>
207208
# サンプルシーン
208-
サンプルプロジェクトを開くと、`\UnityToonshader_ProjectURP~\Assets\Sample Scenes(Universal)`フォルダ以下に、次のようなサンプルシーンがあります。
209+
サンプルシーンはパッケージマネージャーからインストール可能です。
210+
HDRP, Universal RP の場合はそれぞれのレンダーパイプラインのインストールと設定をお願いいたします。
211+
212+
<img width = "400" src="images/InstallingSamples.png">
213+
214+
Universal RP 用サンプルは`Project Setting`ダイアログで `UTS2URPPipelineAsset` を設定する必要があります。
215+
216+
<img width = "400" src="images/URP-Asset.png">
217+
218+
同様にHDRP 用サンプルは`HDRenderPipelineAsset_UTS` アセットの設定が必要です。
219+
220+
<img width = "400" src="images/HDRP-Asset.png">
221+
222+
また、カラースペースは`Linear`に設定する必要があります。
223+
224+
<img width = "400" src="images/SelectLinearColorSpace.png">
225+
226+
サンプルプロジェクトを開くと、`Assets\Samples\Unity Toon Shader\0.0.7-preview\Universal RP\Sample Scenes(Universal)`フォルダ以下に、次のようなサンプルシーンがあります。
209227

210228
* ToonShader.unity :イラストルックのシェーダー設定
211229
* ToonShader_CelLook.unity :セルルックのシェーダー設定
@@ -228,8 +246,8 @@ Render Queueに設定する値について、より詳しく知りたい場合
228246

229247
**NOTE**
230248
その他のレンダーパイプライン向けのサンプルシーンは以下のフォルダに入っています。
231-
* Legacy(Built-in)の場合:`\UnityToonshader_Project~\Assets\Legacy\Sample Scenes`フォルダ
232-
* HDRPの場合:`\UnityToonshader_ProjectHDRP~\Assets\HDRP`フォルダ 
249+
* Legacy(Built-in)の場合:`Assets\Samples\Unity Toon Shader\0.0.7-preview\Legacy (built-in)\Runtime`フォルダ
250+
* HDRPの場合:`Assets\Samples\Unity Toon Shader\0.0.7-preview\High definition render pipeline\Runtime`フォルダ 
233251

234252
# Unity Toon Shader 設定メニュー:Unity Toon Shaderカスタムインスペクター
235253

0 commit comments

Comments
 (0)