build にシェーダー含める説明

This commit is contained in:
ousttrue 2021-10-06 15:52:56 +09:00
parent d92f30b8bb
commit b261ca2a0c
3 changed files with 31 additions and 4 deletions

19
docs/build.md Normal file
View File

@ -0,0 +1,19 @@
# アプリケーションのビルド
## ビルドに含めるシェーダー
`Project Settings = Graphics - Always Included Shaders` などに設定して、ビルドに含まれるようにしてください。
### Unlit
* `Assets\VRMShaders\GLTF\UniUnlit\Resources\UniGLTF\UniUnlit.shader`
### MToon
* `Assets\VRMShaders\VRM\MToon\MToon\Resources\Shaders\MToon.shader`
### ランタイム import/export 時のテクスチャー変換用のシェーダー
* `Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\NormalMapExporter.shader`
* `Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\StandardMapExporter.shader`
* `Assets\VRMShaders\GLTF\IO\Resources\UniGLTF\StandardMapImporter.shader`

View File

@ -21,7 +21,7 @@ V^{\prime} = 1 - V
Z軸を反転します。
### Vector3(Position, Normalなど)
### Vector3: Position, Normalなど
```csharp
public static Vector3 ReverseZ(this Vector3 v)
@ -30,7 +30,7 @@ public static Vector3 ReverseZ(this Vector3 v)
}
```
### Quaternion(Rotation)
### Quaternion: Rotation
```csharp
public static Quaternion ReverseZ(this Quaternion q)
@ -42,7 +42,7 @@ public static Quaternion ReverseZ(this Quaternion q)
}
```
### Matrix(BindMatrices)
### Matrix: BindMatrices
スケール値が入っているとうまくいきません

View File

@ -13,6 +13,14 @@ package
history
```
## build
UniVRMを使うアプリケーションのビルドに関する注意事項
```{toctree}
build
```
## glTF
```{toctree}
@ -44,7 +52,7 @@ vrm0/firstperson
implementation/runtime_resource_management
implementation/texture_manipulation
implementation/univrm_coordinate
implementation/coordinate
```
### Samples