# World (Environment Texture) dosn't appear in BJS

**URL:** <https://forum.babylonjs.com/t/world-environment-texture-dosnt-appear-in-bjs/2952>\
**Category:** Questions\
**Created:** [May 3, 2019, 1:33pm UTC](https://forum.babylonjs.com/t/world-environment-texture-dosnt-appear-in-bjs/2952 "2019-05-03T13:33:40Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anes](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@Anes](https://forum.babylonjs.com/u/Anes)\
**Post date:** [May 3, 2019, 1:33pm UTC](https://forum.babylonjs.com/t/world-environment-texture-dosnt-appear-in-bjs/2952/1 "2019-05-03T13:33:40Z")

</div>

Hello guys,

Another question, I added an environment texture to blender and I create my object inside, and I export everything to BJS using Babylon.js exporter.

the problem is that the object appear in the browser but the envirnonment texture does not appear

Ideas ?

Thankss 😊

---

<div class="post-metadata">

**Author:** ![Galen](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/galen/32/539_2.png) [@Galen](https://forum.babylonjs.com/u/Galen)\
**Post date:** [May 3, 2019, 1:51pm UTC](https://forum.babylonjs.com/t/world-environment-texture-dosnt-appear-in-bjs/2952/2 "2019-05-03T13:51:47Z")

</div>

An environment texture doesn’t automatically export from Blender. You must copy this to the same location as your .babylon or gLTF file.

Galen

---

<div class="post-metadata">

**Author:** ![Anes](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@Anes](https://forum.babylonjs.com/u/Anes)\
**Post date:** [May 3, 2019, 2:17pm UTC](https://forum.babylonjs.com/t/world-environment-texture-dosnt-appear-in-bjs/2952/3 "2019-05-03T14:17:50Z")

</div>

I’ve copied the HDR file to the location of my .babylon, but it still doesn’t appear and no error in my browser console.

---

<div class="post-metadata">

**Author:** ![Vinc3r](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/vinc3r/32/25340_2.png) [@Vinc3r](https://forum.babylonjs.com/u/Vinc3r)\
**Post date:** [May 3, 2019, 2:44pm UTC](https://forum.babylonjs.com/t/world-environment-texture-dosnt-appear-in-bjs/2952/4 "2019-05-03T14:44:54Z")

</div>

check this doc’ page [Use a HDR environment (for PBR) - Babylon.js Documentation](https://doc.babylonjs.com/how_to/use_hdr_environment)

---

<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:** [May 3, 2019, 3:02pm UTC](https://forum.babylonjs.com/t/world-environment-texture-dosnt-appear-in-bjs/2952/5 "2019-05-03T15:02:25Z")

</div>

You need to upgrade to Blender 2.80 to get this to export. Blender uses .HDR files for environment texture, and they work just fine in BJS. Of course, your World surface must Use Nodes, but that is not a real restriction, since an environment in Blender is only in Nodes.

There are also some custom properties in the exporter to also have the environment texture also serve as your skybox, if you wish.

 ![WORLD](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/d/d4f1aeef4dbb401d29cef4834cd0bdda587f3a00.jpeg)

---

<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:** [May 3, 2019, 3:10pm UTC](https://forum.babylonjs.com/t/world-environment-texture-dosnt-appear-in-bjs/2952/6 "2019-05-03T15:10:36Z")

</div>

Also, you need to be running BJS 4.0. My only PR for the 4.0 release fixed problems in loading environment / skyboxes from a .babylon file.

---

<div class="post-metadata">

**Author:** ![Anes](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@Anes](https://forum.babylonjs.com/u/Anes)\
**Post date:** [May 3, 2019, 3:17pm UTC](https://forum.babylonjs.com/t/world-environment-texture-dosnt-appear-in-bjs/2952/7 "2019-05-03T15:17:48Z")

</div>

@JCPalmer, I use CDN locally [https://cdn.babylonjs.com/babylon.max.js](https://cdn.babylonjs.com/babylon.max.js), I wish this is the version u talking about

---

<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:** [May 3, 2019, 3:55pm UTC](https://forum.babylonjs.com/t/world-environment-texture-dosnt-appear-in-bjs/2952/8 "2019-05-03T15:55:00Z")

</div>

Yes, it was as of a few days ago. BTW, probably could remove the .max unless you are going to be reporting an error. The .max file is much larger.

---

<div class="post-metadata">

**Author:** ![Anes](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@Anes](https://forum.babylonjs.com/u/Anes)\
**Post date:** [May 10, 2019, 10:44am UTC](https://forum.babylonjs.com/t/world-environment-texture-dosnt-appear-in-bjs/2952/9 "2019-05-10T10:44:45Z")

</div>

@JCPalmer I use Blender2Babylon-5.6, I tested version 6.0 but it doesn’t wotk I’ll try  
thank you

---

<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:** [May 10, 2019, 12:45pm UTC](https://forum.babylonjs.com/t/world-environment-texture-dosnt-appear-in-bjs/2952/10 "2019-05-10T12:45:00Z")

</div>

First, with this exporter, check the log file also written. My guess is you wrote std materials, not pbr. This exporter does both. Std is default. Check box shown in screen shot from previous post of mine.

---

<div class="post-metadata">

**Author:** ![Anes](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@Anes](https://forum.babylonjs.com/u/Anes)\
**Post date:** [May 10, 2019, 2:37pm UTC](https://forum.babylonjs.com/t/world-environment-texture-dosnt-appear-in-bjs/2952/11 "2019-05-10T14:37:55Z")

</div>

@JCPalmer I try blender 2.8 beta with the exporter version 6.0 and I have a problem that the meshes change their coordinates at random places.  
but with blender 2.79 and version 5.6 of the exporter there is not this problem

---

<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:** [May 10, 2019, 3:19pm UTC](https://forum.babylonjs.com/t/world-environment-texture-dosnt-appear-in-bjs/2952/12 "2019-05-10T15:19:01Z")

</div>

What does that have to do with env texture? I have not seen this. Are you trying to use a 2.79 blend file in 2.80, or file appending in meshes, etc? Post your log file.
