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 1 year has passed since last update.

[Unity]HDRPで発光体を作る

Posted at

概要

UnityのHDRPでEmissiveな発光体を作る方法の一例です。

本文

①HDRPのプロジェクトを作成します。
スクリーンショット 2024-02-17 8.50.58.png
②Projectウィンドウ内で右クリックしてShaderGraphを作成します。
スクリーンショット 2024-02-17 085309.png
③以下のように組み立ててください。Float型のEmissionとColor型のBaseColorをBlendノードで混ぜてBaseColorに繋いでいます。
スクリーンショット 2024-02-17 091019.png
④発光体用のMaterialを作成してそのまま先ほど作成したShaderGraphを適用してください。EmissionとBaseColorを好みの設定にします。
スクリーンショット 2024-02-17 091342.png
⑤光らせたいオブジェクトにMaterialを適用させたら完成です!:bulb:
スクリーンショット 2024-02-17 091644.png

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?