[Unity] Use HDRI as Skybox for Unity

Tutorial: Using HDRI as a Skybox for Unity

In Unity, Skybox is a component used to create environment backgrounds. Using a High Dynamic Range Image (HDRI) for the Skybox provides a more realistic environment background. Here are the steps to use HDRI as a Unity Skybox:

Step 1: Download the HDRI Image

Download the desired HDRI image from the web. Make sure the image you choose matches the scene you are creating. The image I'm using is a file from the downloads below.

300+ high-definition HDRI resources packaged with 90GB network disk address, click here to download
insert image description here

Step 2: Import HDRI Image

In the Unity editor, click Import New Asset in the Assets window and select the downloaded HDRI image.
insert image description here

Step 3: Create the Skybox Material

In the Unity editor, click the "Create" button in the "Assets" window and select "Material". Name the material "Skybox".
insert image description here

Step 4: Apply the HDRI image to the Skybox material

In the Unity editor, double-click the "Skybox" material to open the material editor. In the Material Editor, change the "Shader" dropdown to "Skybox/6 Sided". Then, drag the HDRI image into each of the following 6 properties: Front, Back, Left, Right, Up, and Down.
insert image description here

Step 5: Apply the Skybox material to the scene

In the Unity editor, open the Lighting panel. Switch to the Environment tab and change the "Skybox Material" property to the Skybox material you just created.

After completing the steps above, you will see that the background of the scene has changed to the HDRI image of your choice. This will give your project a more realistic environmental context.
insert image description here

300+ high-definition HDRI resources packaged with 90GB network disk address, click here to download

Guess you like

Origin blog.csdn.net/weixin_41697242/article/details/130050662