# When I use the official tool to convert the PBR format file, I will directly download the PBR file again, without converting it to Env format file. How can I solve this problem

**URL:** <https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035>\
**Category:** Questions\
**Created:** [March 1, 2022, 10:27am UTC](https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035 "2022-03-01T10:27:07Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChenJiong-0819](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/chenjiong-0819/32/19355_2.png) [@ChenJiong-0819](https://forum.babylonjs.com/u/ChenJiong-0819)\
**Post date:** [March 1, 2022, 10:27am UTC](https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035/1 "2022-03-01T10:27:07Z")

</div>

When I use the official tool to convert the PBR format file, I will directly download the PBR file again, without converting it to Env format file. How can I solve this problem  
[https://www.babylonjs.com/tools/ibl/](https://www.babylonjs.com/tools/ibl/)

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 1, 2022, 8:31pm UTC](https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035/2 "2022-03-01T20:31:18Z")

</div>

The official tool should be the babylon sandbox.

What browser are you using ? (only chrome/edge can be used so far to generate envs.) What file are you trying to convert ?

---

<div class="post-metadata">

**Author:** ![ChenJiong-0819](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/chenjiong-0819/32/19355_2.png) [@ChenJiong-0819](https://forum.babylonjs.com/u/ChenJiong-0819)\
**Post date:** [March 2, 2022, 1:50am UTC](https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035/3 "2022-03-02T01:50:12Z")

</div>

> [@ChenJiong-0819](#):
>
> PBR格式文件

I use the Chrome browser.  
\*.PBR → \*.ENV  
like this

![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/b/9/b997d0f46328ade37dc72f629ccfd76a96c2dc56.png)

I followed this video.

[![](https://img.youtube.com/vi/eCdj3JiPF10/maxresdefault.jpg "03. Physically Based Rendering (PBR) Materials in BabylonJS") ](https://www.youtube.com/watch?v=eCdj3JiPF10&t=266)

---

<div class="post-metadata">

**Author:** ![musk](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/musk/32/17156_2.png) [@musk](https://forum.babylonjs.com/u/musk)\
**Post date:** [March 2, 2022, 2:57am UTC](https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035/4 "2022-03-02T02:57:00Z")

</div>

If you want to create an env file.

1. Get a hdr file first.
2. Drag a glb file to open scene. Then drag the hdr file in sandbox. You will see the environment change.
3. Open tools tab of inspector. you will see a button named “Generate .env texture”.

---

<div class="post-metadata">

**Author:** ![ChenJiong-0819](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/chenjiong-0819/32/19355_2.png) [@ChenJiong-0819](https://forum.babylonjs.com/u/ChenJiong-0819)\
**Post date:** [March 2, 2022, 9:54am UTC](https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035/5 "2022-03-02T09:54:53Z")

</div>

When I drag a hdr file into the sandbox, I can’t see any environmental changes, and the whole page doesn’t respond at all, but it happens when I drag a glb file.

---

<div class="post-metadata">

**Author:** ![musk](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/musk/32/17156_2.png) [@musk](https://forum.babylonjs.com/u/musk)\
**Post date:** [March 2, 2022, 10:51am UTC](https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035/6 "2022-03-02T10:51:56Z")

</div>

Drag a glb file to open scene. Then drag the hdr file

---

<div class="post-metadata">

**Author:** ![ChenJiong-0819](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/chenjiong-0819/32/19355_2.png) [@ChenJiong-0819](https://forum.babylonjs.com/u/ChenJiong-0819)\
**Post date:** [March 2, 2022, 11:13am UTC](https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035/7 "2022-03-02T11:13:11Z")

</div>

I used the method you said to operate, but I can’t see the effect of the HDR file and can’t find the “Generate .env texture” button

---

<div class="post-metadata">

**Author:** ![musk](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/musk/32/17156_2.png) [@musk](https://forum.babylonjs.com/u/musk)\
**Post date:** [March 2, 2022, 11:38am UTC](https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035/8 "2022-03-02T11:38:19Z")

</div>

Here :

 ![QXW74A](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/e/6/e602068a7ba36a2916da1ba507d19104748508bd.png)

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 2, 2022, 4:29pm UTC](https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035/9 "2022-03-02T16:29:15Z")

</div>

IT looks like your hdr is broken or unsupported in babylon. could you share the file ?

---

<div class="post-metadata">

**Author:** ![ChenJiong-0819](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/chenjiong-0819/32/19355_2.png) [@ChenJiong-0819](https://forum.babylonjs.com/u/ChenJiong-0819)\
**Post date:** [March 4, 2022, 2:06am UTC](https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035/10 "2022-03-04T02:06:10Z")

</div>

![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/1/2/1200c849183b5a3180440491b7db7b9b2df8f8ba.png)

I don’t think the file is loaded

---

<div class="post-metadata">

**Author:** ![ChenJiong-0819](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/chenjiong-0819/32/19355_2.png) [@ChenJiong-0819](https://forum.babylonjs.com/u/ChenJiong-0819)\
**Post date:** [March 4, 2022, 2:07am UTC](https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035/11 "2022-03-04T02:07:08Z")

</div>

I downloaded hdr file from this website.

> **[HDRIs • Poly Haven](https://polyhaven.com/hdris)**
>
> The Public 3D Asset Library

All the hdr files I downloaded here are not available, so I can’t load them on Sandon

---

<div class="post-metadata">

**Author:** ![musk](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/musk/32/17156_2.png) [@musk](https://forum.babylonjs.com/u/musk)\
**Post date:** [March 4, 2022, 2:17am UTC](https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035/12 "2022-03-04T02:17:50Z")

</div>

I tested one. It should work. It’s best to provide your test file.

---

<div class="post-metadata">

**Author:** ![ChenJiong-0819](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/chenjiong-0819/32/19355_2.png) [@ChenJiong-0819](https://forum.babylonjs.com/u/ChenJiong-0819)\
**Post date:** [March 4, 2022, 2:22am UTC](https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035/13 "2022-03-04T02:22:56Z")

</div>

The file is too big to upload. 😭

Is it because the file is too big to load? I just downloaded a hdr file less than 2MB and can load it.

---

<div class="post-metadata">

**Author:** ![musk](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/musk/32/17156_2.png) [@musk](https://forum.babylonjs.com/u/musk)\
**Post date:** [March 4, 2022, 3:12am UTC](https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035/14 "2022-03-04T03:12:59Z")

</div>

I only tested 4K.It worked. I don’t think it’s necessary to pursue too high resolution for create .env file.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 4, 2022, 2:35pm UTC](https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035/15 "2022-03-04T14:35:01Z")

</div>

I can not tell without the file unfortunately but going more than 2-4k has a huge chance to break depending on your hardware.

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [April 1, 2022, 12:26pm UTC](https://forum.babylonjs.com/t/when-i-use-the-official-tool-to-convert-the-pbr-format-file-i-will-directly-download-the-pbr-file-again-without-converting-it-to-env-format-file-how-can-i-solve-this-problem/28035/16 "2022-04-01T12:26:47Z")

</div>

Hello @ChenJiong-0819 just checking in, was your question answered?
