LoginSignup
0
0

More than 3 years have passed since last update.

【GIMP】UnityのSkyBox作り(360度 全天球)

Posted at

環境メモ
⭐️GIMP 2.10

完成内容↓↓↓
https://twitter.com/nonnonkapibara/status/1151245042805137409

1.A-FrameのWebブラウザでVR表示する場合は
GIMPで幅3600×1800ピクセル 解像度600で
拡張子.jpg形式でエクスポートする。
スクリーンショット 2019-07-17 5.20.37.png

2.A-FrameのWebブラウザでVR表示するHTMLを記述する

HTMLのindex.html

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>A-Frame360度全天球</title>
    <meta name="description" content="A-Frame Stained Glass SkyBox">
    <script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
  </head>
  <body>
    <a-scene>
      <a-sky src="non/stainedglass.jpg" rotation="0 170 0"></a-sky>
    </a-scene>
  </body>
</html>

3.これをサーバーにUPで完了。
類似内容↓
【WebVR】360度全天球を試してみた。A-FrameでWebVR 表示してみたよぉ。
https://qiita.com/nonkapibara/items/1419e55bae2c4c611523

4.UnityのSkyBoxにする場合は、
GIMPで幅3600×1800ピクセル 解像度600で
拡張子.hdrでエクスポートする

5.Unity側で、取り込む
スクリーンショット 2019-07-17 7.08.55.png

5.新しいMaterialを作成し、SkyBoxにする
スクリーンショット 2019-07-17 7.11.37.png

完了!

類似内容↓
【Unity】360度全天球をSkyBoxに設定する(Skybox/Cubemap)
https://qiita.com/nonkapibara/items/27aac80da1fb4ff03d0f

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