LoginSignup
1
1

More than 1 year has passed since last update.

モデルから立体感のあるスプライトを作る

Last updated at Posted at 2020-12-03

UniversalRPではエモい2Dライトが使えます
せっかくなので、エモイライトでエモく陰影が付くスプライトを作ってみましょう。
*下の画像で回転しているのはモデルではなく陰影付きのスプライトです。
ezgif-3-b6a4f7e766c9.gif

まずはバンプマップを表示するShaderGraphを作成します。
2020-06-12_224906.png

サンプルとして、AssetStoreからダウンロードして既存マテリアルを半自動で変換したモデルと、
outputURP_albedo.png

バンプシェーダーを使って表示したバンプモデル
outputURP_bump.png
をファイルに保存し、
UniversalRPのマテリアルにアタッチしました。
2020-06-13_000845.png

1枚絵ですがかなり立体感があります。
gif_animation_003.gif

シェーダーを写経するのが面倒、という方は
アセット販売中です
ModelToBump_Icon160x160.png

1
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
1
1