0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Unityで変身エフェクトの模索

Posted at

作ったモノ

  • 今さら感満載ですが、昔作った変身エフェクトの模索を公開してみます。

dissolve.gif

環境

  • Unity 2019.x

処理の流れ

  • 2つのモデルを用意します
  • それぞれを逆方向にディゾルブさせます(クロスディゾルブ)。
    • 黄色のオブジェクトは、表示から非表示にします(完全に覆い隠すので、今回はこちらは不要でした)。
    • 黒いオブジェクトは、 非表示から表示にします。
  • 私が、唯一行ったことは、ディゾルブするマップを作ったことです。

作ったテクスチャ

tex.png

  • この3番目のディゾルブさせるテクスチャですが、3分ぐらいで適当に描いた落書き画像で、なんかかっこよく見えて、お得だったので紹介します。
  • Unityが、すごいだけなのですが。
  • 数時間でサクッとこんなことが無料でできる時代に生まれて、とっても幸せだと感じました。

ソースコードなど

  • ディゾルブの処理は、高橋 啓治郎さんが動画とテキストで、かなり詳しく解説されています。(下部に列挙)
  • 以下のgithubのURLでソースコードを公開しています。
  • クロスディゾルブするように変更しました。

graph.png

ディゾルブ処理についての解説

高橋 啓治郎さんの動画

高橋 啓治郎さんのgist

Brackeys さんの動画(英語)

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?