0
0

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.

UnityHDRPでTerrain Sample Assetsのディディールがピンク色の時の対処法 覚書

Posted at

最近UNITY 2022 LTS発表されましたね!
早速新機能を使って遊んでみたいなと思いHDRPでUnityのTerrain Toolを使いながらいろいろ試していたところ
Terrain Sample Asset Packのディディールがピンク色?紫色?になっちゃう問題が発生し、解決したのでその覚書として残すことにしました。

参考;
・UNITY 2022 LTS ;https://unity.com/ja/releases/lts

・公式動画

以下使用したパッケージ
・Terrain Tools 5.0.3
パッケージマネージャーのUnityレジストリからインストール
・Terrain Sample Asset Pack
https://assetstore.unity.com/packages/3d/environments/landscapes/terrain-sample-asset-pack-145808?locale=ja-JP

早速ディティール機能を使ってわーい!って草をはやしたところ・・・。
あれなんか紫じゃない?ってなりました、確かにこんな色の植物や花とか見たことあるような、、
image.png
image.png
でも違和感あるしなんかおかしい!!ということで
Assets>TerrainSampleAssets>Prefabsの中にある植物のインスペクターを見てみます。

するとマテリアル設定のHDRP Only中に何やら英語が書いてあり、
[Diffusion Profile(拡散プロファイル?)というのがうまく参照されていないからFixボタンを押して修正しろ]という感じの意味でした。
スクリーンショット 2023-06-25 184602.jpg

なので押したらなんと!うまくプロファイルが参照されてピンク色問題を解決できました。
image.png
シーンに戻ってみるとちゃんとした草っぽくなっていました!
image.png

自分はまだまだ未熟なのでよくわからず触っていますが同じ現象で困っている方がいたら少しでも参考になれば幸いです!それではまた

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?