Skip to content

ブレンドシェイプごとのスクリーンショットを撮影するやつ

Notifications You must be signed in to change notification settings

haru2036/BlendShapeScreenshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

ブレンドシェイプごとのスクリーンショットを撮影するやつ

Unity上でSkinnedMeshRendererの持つブレンドシェイプそれぞれに対してスクリーンショットを撮影するスクリプトです。

動作イメージ

example

ここでは、⊿S.I.N 様の【3Dモデル】Leeme -リーメ- & Reeva -リーバ-に対して本スクリプトを使用しています。

https://tomori-hikage.booth.pm/items/972559

使い方

念の為使用前にプロジェクトのバックアップを取ってください。

  1. AssetsにBlendShapeScreenshot.csを配置します。
  2. RenderTextureを用意します。
  3. Sceneに撮影したいアングルに設定されたCameraを配置します。
  4. CameraのTargetTextureにRenderTextureを指定します。 カメラの設定
  5. 撮影したいブレンドシェイプが含まれているSkinnedMeshRendererが含まれているGameObjectにBlendShapeScreenshot.csを追加します。
  6. Blend Shape Screenshotに3のCameraを指定します。 スクリプトの設定
  7. "Take Screenshot"を押して、終了するまで待ちます。このとき、Unity Editor以外のウインドウにフォーカスを当てないでください。
  8. \Assets\BlendShapeCapturesにBlendShapeと同じ名前の画像が保存されます。

LICENSE

このスクリプトはMITライセンスで公開されています。 https://opensource.org/licenses/mit-license.php

About

ブレンドシェイプごとのスクリーンショットを撮影するやつ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages