LoginSignup
2
0

More than 3 years have passed since last update.

Unity ShaderGraph レシピ #9 半透明

Last updated at Posted at 2020-12-28

シェーダーグラフで半透明

スクリーンショット 2020-12-28 15.30.39.png

作り方

知らないとAlpha値設定したのに半透明にならなくて混乱するので説明します。

1.MasterノードのAlpha値が透明度

スクリーンショット 2020-12-28 15.29.47.png

しかし、ここに値を入れただけだと不透明のままです……。
スクリーンショット 2020-12-28 15.29.57.png

2.Masterノードの設定からアルファブレンドの設定

Masterノードの右上の歯車アイコンを押して設定変更します。
スクリーンショット 2020-12-28 15.30.18.png

Surfaceの項目をTransparentに指定することでアルファブレンディング設定が有効になります。
ブレンドタイプ(通常の半透明、加算半透明等)はBlendの項目で指定します。

完成!

スクリーンショット 2020-12-28 15.30.39.png


その他のレシピはShaderGraphレシピ一覧にまとまっています

2
0
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
2
0