# How to export .GLB from sandbox and import to website with same configuratios

**URL:** <https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427>\
**Category:** Questions\
**Created:** [March 23, 2021, 9:37pm UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427 "2021-03-23T21:37:20Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander\_Domashev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexander_domashev/32/12695_2.png) [@Alexander\_Domashev](https://forum.babylonjs.com/u/Alexander_Domashev)\
**Post date:** [March 23, 2021, 9:37pm UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/1 "2021-03-23T21:37:20Z")

</div>

I have uploaded 3D model to sandbox, removed on sandbox background made some adjust to texture opacity and did export. After that I uploaded exported model on website its looks diffirent. How I can import 3D model with same configurations without adjusting any script?

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [March 24, 2021, 10:12am UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/2 "2021-03-24T10:12:53Z")

</div>

In what way it is different? What is the website you are importing the model to?

Having some discrepancies between two different renderers (say Babylon and Three for eg) is expected as they don’t do things exactly the same way. But the rendered models should definitely be closed to each other.

If the website is using Babylon, I guess you will need to setup a repro for us to be able to help. One difference between your own Babylon project and the sandbox could be the environment texture that you either did not setup or use a different texture from the one used by the sandbox.

This thread may help: [How to make model lighting/pre-processing in code the same as how a model appears in the sandbox? - #2 by PirateJC](https://forum.babylonjs.com/t/how-to-make-model-lighting-pre-processing-in-code-the-same-as-how-a-model-appears-in-the-sandbox/17772/2)

---

<div class="post-metadata">

**Author:** ![Alexander\_Domashev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexander_domashev/32/12695_2.png) [@Alexander\_Domashev](https://forum.babylonjs.com/u/Alexander_Domashev)\
**Post date:** [March 30, 2021, 12:18am UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/3 "2021-03-30T00:18:42Z")

</div>

Hello @Evgeni_Popov, I’m using babylon on website, I would like to remove background there to make it completely transparent.

> **[Brentwood 14×24](http://dev28.nxeu.com/hot-tub-enclosures/gazebos/brentwood/brentwood-14x24/)**
>
> The Brentwood 14x24 is a newly designed multi-functional building. It has oversized windows to let in a lot of light and to provide excellent views. The Brentwood 14×24 is large and can easily be used to house a swim spa or hot tub, and can be used...

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [March 30, 2021, 8:37am UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/4 "2021-03-30T08:37:40Z")

</div>

I get 404 errors when browsing this page and nothing shows:

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/d/d0769c7eb271d7d3b2df90c6581cd97cbb5764bd.png)

---

<div class="post-metadata">

**Author:** ![Alexander\_Domashev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexander_domashev/32/12695_2.png) [@Alexander\_Domashev](https://forum.babylonjs.com/u/Alexander_Domashev)\
**Post date:** [March 30, 2021, 3:24pm UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/5 "2021-03-30T15:24:01Z")

</div>

Yes, images haven’t been loading on website. Its development website. Its not the issue, the issue how to disable background on model

> **[2021-03-30\_08-23-03.png](https://www.screencast.com/t/NPXNNGKXtdGC)**
>
> Shared from Screencast.com

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [March 30, 2021, 3:38pm UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/6 "2021-03-30T15:38:47Z")

</div>

Ok, it seems you are using the Babylon.js viewer.

I don’t know if the background can be removed, let’s add @RaananW who may know.

---

<div class="post-metadata">

**Author:** ![Alexander\_Domashev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexander_domashev/32/12695_2.png) [@Alexander\_Domashev](https://forum.babylonjs.com/u/Alexander_Domashev)\
**Post date:** [March 30, 2021, 4:41pm UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/7 "2021-03-30T16:41:44Z")

</div>

It’s ok to use any other viewer, I just would like to look the same as on sandbox without background

---

<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:** [March 30, 2021, 4:58pm UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/8 "2021-03-30T16:58:29Z")

</div>

It’s probably just a matter of environmentTexture, the one used by the sandbox is [https://assets.babylonjs.com/environments/environmentSpecular.env](https://assets.babylonjs.com/environments/environmentSpecular.env) , and also, I think, the one used when calling `scene.createDefaultEnvironment();`

If not you can still use the helper using one of its options:

```javascript
scene.createDefaultEnvironment({
    environmentTexture: "https://assets.babylonjs.com/environments/environmentSpecular.env",
    createGround: false,
    createSkybox: false,
 });

```

---

<div class="post-metadata">

**Author:** ![Alexander\_Domashev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexander_domashev/32/12695_2.png) [@Alexander\_Domashev](https://forum.babylonjs.com/u/Alexander_Domashev)\
**Post date:** [March 30, 2021, 5:17pm UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/9 "2021-03-30T17:17:33Z")

</div>

Ok, as I understand it’s not possible to export 3D model from sandbox and uploading to website make it looks the same without any knowledge of the script?

---

<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 31, 2021, 11:23am UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/10 "2021-03-31T11:23:57Z")

</div>

You can configure the viewer to not have background or ground with the skybox and ground property: [Configuring the Babylon.js Viewer | Babylon.js Documentation](https://doc.babylonjs.com/extensions/babylonViewer/configuringViewer)

---

<div class="post-metadata">

**Author:** ![Alexander\_Domashev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexander_domashev/32/12695_2.png) [@Alexander\_Domashev](https://forum.babylonjs.com/u/Alexander_Domashev)\
**Post date:** [March 31, 2021, 8:39pm UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/11 "2021-03-31T20:39:55Z")

</div>

Thanks @sebavan, my question is. Is it possible to export model from sandbox with same configuration to website without extra configurations?

---

<div class="post-metadata">

**Author:** ![Alexander\_Domashev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexander_domashev/32/12695_2.png) [@Alexander\_Domashev](https://forum.babylonjs.com/u/Alexander_Domashev)\
**Post date:** [March 31, 2021, 9:03pm UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/12 "2021-03-31T21:03:52Z")

</div>

I just need help to setup 3D model on website without background

---

<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 31, 2021, 9:08pm UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/13 "2021-03-31T21:08:06Z")

</div>

So you need to configure the viewer to not display the background with the procedure provided above

---

<div class="post-metadata">

**Author:** ![Alexander\_Domashev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexander_domashev/32/12695_2.png) [@Alexander\_Domashev](https://forum.babylonjs.com/u/Alexander_Domashev)\
**Post date:** [April 2, 2021, 7:15pm UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/14 "2021-04-02T19:15:27Z")

</div>

@sebavan are you able to help me it setup with some budget.

---

<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:** [April 2, 2021, 8:10pm UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/15 "2021-04-02T20:10:01Z")

</div>

@RaananW might be able to provide an example for it but basically it is simply disabling back and sky like:

`<babylon model="https://playground.babylonjs.com/scenes/Rabbit.babylon" skybox="false" ground="false"></babylon>`

---

<div class="post-metadata">

**Author:** ![Alexander\_Domashev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexander_domashev/32/12695_2.png) [@Alexander\_Domashev](https://forum.babylonjs.com/u/Alexander_Domashev)\
**Post date:** [April 7, 2021, 7:25pm UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/16 "2021-04-07T19:25:39Z")

</div>

Thanks @sebavan, but models still looks diffirent from sandbox and website. How much you will charge to setup model to looks the same as on sandbox without background. I was able to remove background but there are still issues with model.

1. Some white dash lines appear on website
2. Texture unmatch  
[Industrial Before\_After Landscape 2021-04-07\_12-19-51.png](https://www.screencast.com/t/EvKOOENuI8l)

---

<div class="post-metadata">

**Author:** ![Alexander\_Domashev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexander_domashev/32/12695_2.png) [@Alexander\_Domashev](https://forum.babylonjs.com/u/Alexander_Domashev)\
**Post date:** [April 7, 2021, 7:36pm UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/17 "2021-04-07T19:36:33Z")

</div>

This is the original model screenshot and I would like to embed it on website without background, with same texture, without white dashlanes

 ![picturemessage](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/3/37000ac03b0978fb5b4dbe8f09661ae610f9f9f4.jpeg)

---

<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:** [April 7, 2021, 7:47pm UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/18 "2021-04-07T19:47:53Z")

</div>

I am not able to get charged for any missions but you should post on the service and offer topic [Service offers and requests - Babylon.js](https://forum.babylonjs.com/c/service-offers-and-requests/10) and I bet you ll find somebody there to help 🙂

---

<div class="post-metadata">

**Author:** ![Alexander\_Domashev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexander_domashev/32/12695_2.png) [@Alexander\_Domashev](https://forum.babylonjs.com/u/Alexander_Domashev)\
**Post date:** [April 7, 2021, 8:14pm UTC](https://forum.babylonjs.com/t/how-to-export-glb-from-sandbox-and-import-to-website-with-same-configuratios/19427/19 "2021-04-07T20:14:50Z")

</div>

Ok, thank you @sebavan
