# Wrong "environment.hdr" file content in asset texture folder

**URL:** <https://forum.babylonjs.com/t/wrong-environment-hdr-file-content-in-asset-texture-folder/50060>\
**Category:** Bugs\
**Tags:** hdr\
**Created:** [April 26, 2024, 7:20pm UTC](https://forum.babylonjs.com/t/wrong-environment-hdr-file-content-in-asset-texture-folder/50060 "2024-04-26T19:20:09Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![tawibox](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tawibox/32/22881_2.png) [@tawibox](https://forum.babylonjs.com/u/tawibox)\
**Post date:** [April 26, 2024, 7:20pm UTC](https://forum.babylonjs.com/t/wrong-environment-hdr-file-content-in-asset-texture-folder/50060/1 "2024-04-26T19:20:10Z")

</div>

Hey community,

Found `environment.hdr` file has incorrect content in your texture folder:

> **[Babylon.js/packages/tools/playground/public/textures at master ·...](https://github.com/BabylonJS/Babylon.js/tree/master/packages/tools/playground/public/textures)**
>
> Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework. - BabylonJS/Babylon.js

Looks that `country.hdr` and `environment.hdr` turn out having the same content, while the original `environment.hdr` file content seems missing.

Also can we add more HDR and .env files in our library? I am using some HDR files from [https://polyhaven.com](https://polyhaven.com). I converted them from original .hdr to .env on my end. If it’s ok I can send you folks those files. But not sure if it is ok legally.

Tawibox

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [April 26, 2024, 8:30pm UTC](https://forum.babylonjs.com/t/wrong-environment-hdr-file-content-in-asset-texture-folder/50060/2 "2024-04-26T20:30:07Z")

</div>

we are totally open to addition 🙂

Please [BabylonJS/Assets: A place for public domain digital assets to use. (github.com)](https://github.com/BabylonJS/Assets)

---

<div class="post-metadata">

**Author:** ![tawibox](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tawibox/32/22881_2.png) [@tawibox](https://forum.babylonjs.com/u/tawibox)\
**Post date:** [April 26, 2024, 9:59pm UTC](https://forum.babylonjs.com/t/wrong-environment-hdr-file-content-in-asset-texture-folder/50060/3 "2024-04-26T21:59:36Z")

</div>

@Deltakosh  
Cool!! I checked their website, all HDRs there are under CC0 license, which is totally ok for us to use. I will do a little bit clean up for those files and send a pull request in the asset package later. 😁

Btw, can any body correct the wrong `environment.hdr` file? i do need the correct file.

Many thanks  
Tawibox

---

<div class="post-metadata">

**Author:** ![tawibox](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tawibox/32/22881_2.png) [@tawibox](https://forum.babylonjs.com/u/tawibox)\
**Post date:** [April 27, 2024, 1:46am UTC](https://forum.babylonjs.com/t/wrong-environment-hdr-file-content-in-asset-texture-folder/50060/4 "2024-04-27T01:46:38Z")

</div>

Just found an old posting regarding to the same issue:

> [@Can't find the environment(Specular).hdr](https://forum.babylonjs.com/t/cant-find-the-environment-specular-hdr/23340):
>
> Hey there, I’ve been looking for the hdr of the standard environment.env, but can’t seem to find it. I stumbled upon this in the available textures section in the documentation: there seems to be a country.hdr and an environment.hdr, that should be available. However they both are the same file, namely both times country.hdr: [The Texture Library | Babylon.js Documentation](https://doc.babylonjs.com/toolsAndResources/assetLibraries/availableTextures#hdr) Maybe some kind soul could fix this or give me the environment.hdr if they have it?

Looks the website which host the original HDR file is retired. And I couldn’t find another copy of this HDR file anywhere else.

If any one has the original file please let me know.  
Tawibox

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [April 27, 2024, 2:58pm UTC](https://forum.babylonjs.com/t/wrong-environment-hdr-file-content-in-asset-texture-folder/50060/5 "2024-04-27T14:58:25Z")

</div>

cc @PatrickRyan in case he has that file ☹

---

<div class="post-metadata">

**Author:** ![PatrickRyan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/patrickryan/32/3417_2.png) [@PatrickRyan](https://forum.babylonjs.com/u/PatrickRyan)\
**Post date:** [April 28, 2024, 11:03pm UTC](https://forum.babylonjs.com/t/wrong-environment-hdr-file-content-in-asset-texture-folder/50060/6 "2024-04-28T23:03:15Z")

</div>

@tawibox, while the Polyhaven HDRs are all under a CC0 license, I would not want to host the hdr files on our repo to avoid confusion about where the assets come from. I would host those same files converted to .env, however, since that format is a Babylon format. That way, those IBL files could be used for playgrounds and the like, but is not a simple repost of assets generated by Polyhaven. We should also give credit in the license file to Polyhaven as the source of the original files in the spirit of open-source. I will look for the original environment.hdr file in case I have a copy. Is this the image of the theatre? The name doesn’t help with identifying the content obviously.

---

<div class="post-metadata">

**Author:** ![JCPalmer](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jcpalmer/32/42_2.png) [@JCPalmer](https://forum.babylonjs.com/u/JCPalmer)\
**Post date:** [April 29, 2024, 4:33pm UTC](https://forum.babylonjs.com/t/wrong-environment-hdr-file-content-in-asset-texture-folder/50060/7 "2024-04-29T16:33:07Z")

</div>

Patrick, I do not keep .hdr files, but I probably have a 512 env, if you wish to swap with the current, which I assume is 256.

---

<div class="post-metadata">

**Author:** ![tawibox](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tawibox/32/22881_2.png) [@tawibox](https://forum.babylonjs.com/u/tawibox)\
**Post date:** [May 10, 2024, 1:43am UTC](https://forum.babylonjs.com/t/wrong-environment-hdr-file-content-in-asset-texture-folder/50060/8 "2024-05-10T01:43:27Z")

</div>

@PatrickRyan

Thank you so much! Sorry for the delayed response.

Yeah that sounds great. Agree that babylon should only hose the `.env` format of the HDRs. I will send a pull request for the .env files once they are in place later.

Yeah the HDR was looking for is the one in front of LA Chinese theater, with twilight.  
If you happen to have the original copy please let me know.

Many thanks again.  
Tawibox

---

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [May 10, 2024, 11:50pm UTC](https://forum.babylonjs.com/t/wrong-environment-hdr-file-content-in-asset-texture-folder/50060/9 "2024-05-10T23:50:30Z")

</div>

If you mean the footprint court one, then it seems it’s not available anymore in the typical places, but [KhronosGroup/glTF-Sample-Environments: glTF sample environments for the glTF Sample Viewer (github.com)](https://github.com/KhronosGroup/glTF-Sample-Environments) still has a copy of it, including the original HDR file.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/5/9/590f3b03c1a1433560a1e53501eae910a575aeb1.jpeg)

[glTF-Sample-Environments/footprint\_court.hdr at main · KhronosGroup/glTF-Sample-Environments (github.com)](https://github.com/KhronosGroup/glTF-Sample-Environments/blob/main/footprint_court.hdr)

---

<div class="post-metadata">

**Author:** ![tawibox](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tawibox/32/22881_2.png) [@tawibox](https://forum.babylonjs.com/u/tawibox)\
**Post date:** [May 11, 2024, 1:50am UTC](https://forum.babylonjs.com/t/wrong-environment-hdr-file-content-in-asset-texture-folder/50060/10 "2024-05-11T01:50:53Z")

</div>

@bghgary

YES!! That’s the exact one I have been looking for!! Thank you so much!!!

Didn’t expect Khronos even keeps it on their end.  
Many thanks,  
Tawibox
