![見出し画像](https://assets.st-note.com/production/uploads/images/138999293/rectangle_large_type_2_19100c5f18ce6201e395cd3c920ae49a.png?width=1200)
VRChatで使っているAvatarをUnityでポージング&透過写真を撮る方法
必要な物
・Unity
・VRChatで使っているAvatar
・MotionPlayer(ツール) ¥ 300
【ModularAvatar版】ファイルを差し替えるだけの簡単導入『MotionPlayer』 - こげ丸のお店 - BOOTH
・アニメーション
お薦めアニメーションBooth ドロヤマート - BOOTH
無料のanimationを利用してもOK
Unityの設定
1.Direction Lightの設定
2.Gameビューとカメラの設定
3.Unity Recorderの使い方
1.Direction Lightの設定
①背後から光が当たっているので正面から当たるように修正
![](https://assets.st-note.com/img/1711348076171-QeHhjqX1RL.png?width=1200)
②Direction Light を選択している状態で
②-a RotationのYに-148を入力
②-b Colorが黄色がかっているので白にする
![](https://assets.st-note.com/img/1711349025734-WNn8S47eQw.png?width=1200)
![](https://assets.st-note.com/img/1711349075452-53IzPyDoPx.png)
![](https://assets.st-note.com/img/1711349087202-KILIaRYi3B.png)
2.Gameビューとカメラの設定
①Gameビューの解像度を1920x1080に設定
![](https://assets.st-note.com/img/1711350373400-WMBDcWaC6Q.png?width=1200)
②カメラの設定
カメラのClear FlagsをSolid Colorにする
![](https://assets.st-note.com/img/1711350528268-a99lpUB0x3.png?width=1200)
![](https://assets.st-note.com/img/1711352147239-CVzjFu3dGP.png?width=1200)
Field of Viewを30
Clipping PlanesのNearを0.01
にする
![](https://assets.st-note.com/img/1714451266688-Y9o0fqH0ex.png?width=1200)
![](https://assets.st-note.com/img/1714451315490-LD17o4DKsm.png?width=1200)
![](https://assets.st-note.com/img/1714451397354-dLcl4iaRov.png?width=1200)
3.Unity Recorderの使い方
写真を撮るのはUnity Recorderで撮影
ダウンロード
Window → Package Manager
![](https://assets.st-note.com/img/1711352508001-Mpw9kS1TSs.png?width=1200)
こんなウィンドウが出てくるので
①Unity Registry
②検索にRecorder
と入れると
③が出てくるので
④でInstall
![](https://assets.st-note.com/img/1711352940388-5TwEnSnuJY.png?width=1200)
⑤Recorder Windowの表示
Window → General → Recorder → Recorder Window
![](https://assets.st-note.com/img/1711353281703-6dRHykq9iL.png?width=1200)
⑤Recorder Windowの設定
![](https://assets.st-note.com/img/1714450374988-2lRuMsL81X.png?width=1200)
![](https://assets.st-note.com/img/1714450461068-QoBKXnhStL.png)
![](https://assets.st-note.com/img/1714450564336-bVriuB6nS8.png)
![](https://assets.st-note.com/img/1714450678898-SVihojmifp.png)
![](https://assets.st-note.com/img/1714450761530-b1n9vOleuC.png?width=1200)
![](https://assets.st-note.com/img/1714450949805-CbKdFZBxap.png?width=1200)
Expressionメニューからアニメーションを再生する方法
https://youtu.be/GL72pmsjKuE
撮影できたSS
![](https://assets.st-note.com/img/1714451702070-dLD4NWKFGp.png?width=1200)