# Sandbox, export model with black background?

**URL:** <https://forum.babylonjs.com/t/sandbox-export-model-with-black-background/29956>\
**Category:** Questions\
**Created:** [May 3, 2022, 2:00am UTC](https://forum.babylonjs.com/t/sandbox-export-model-with-black-background/29956 "2022-05-03T02:00:40Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandviken](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@Sandviken](https://forum.babylonjs.com/u/Sandviken)\
**Post date:** [May 3, 2022, 2:00am UTC](https://forum.babylonjs.com/t/sandbox-export-model-with-black-background/29956/1 "2022-05-03T02:00:40Z")

</div>

Hello, i’ve got a . glb file that i would like to export with a black background in sandbox, i’ve been sitting here for hours trying to figure out how to do it but it just comes out as white, any tips?

---

<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:** [May 3, 2022, 11:47am UTC](https://forum.babylonjs.com/t/sandbox-export-model-with-black-background/29956/2 "2022-05-03T11:47:48Z")

</div>

Hello and welcome to the Babylon community!

Can you show us your file and how it appears in the Sandbox?

---

<div class="post-metadata">

**Author:** ![Sandviken](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@Sandviken](https://forum.babylonjs.com/u/Sandviken)\
**Post date:** [May 3, 2022, 12:48pm UTC](https://forum.babylonjs.com/t/sandbox-export-model-with-black-background/29956/3 "2022-05-03T12:48:44Z")

</div>

i’m not sure how to send the file here (i’m using the web version btw)

i’ve got a glb file that i exportet from Blender, alot of my textures were missing so i fixed that in babylon, but whenever i want to export the file the background is white (maybe it’s actually transparent) and it dosen’t sit well with my somewhat transparent glass.

i’m new to all of this 😃

---

<div class="post-metadata">

**Author:** ![Sandviken](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@Sandviken](https://forum.babylonjs.com/u/Sandviken)\
**Post date:** [May 3, 2022, 12:49pm UTC](https://forum.babylonjs.com/t/sandbox-export-model-with-black-background/29956/4 "2022-05-03T12:49:28Z")

</div>

i’m not sure how to send the file here (i’m using the web version btw)

i’ve got a glb file that i exportet from Blender, alot of my textures were missing so i fixed that in babylon, but whenever i want to export the file the background is white (maybe it’s actually transparent) and it dosen’t sit well with my somewhat transparent glass.

i’m new to all of this 😃

---

<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:** [May 3, 2022, 1:08pm UTC](https://forum.babylonjs.com/t/sandbox-export-model-with-black-background/29956/5 "2022-05-03T13:08:39Z")

</div>

Did you add the missing textures using the Sandbox ( [Babylon.js Sandbox - View glTF, glb, obj and babylon files (babylonjs.com)](https://sandbox.babylonjs.com/)) or the Playground? ( [Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/))

---

<div class="post-metadata">

**Author:** ![Sandviken](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@Sandviken](https://forum.babylonjs.com/u/Sandviken)\
**Post date:** [May 3, 2022, 7:00pm UTC](https://forum.babylonjs.com/t/sandbox-export-model-with-black-background/29956/6 "2022-05-03T19:00:14Z")

</div>

i’m not even sure how to do that, i messed with the settings and managed to get the bottle closse to what i had in blender haha. clicking the link only takes me to a “new project”

---

<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:** [May 3, 2022, 8:01pm UTC](https://forum.babylonjs.com/t/sandbox-export-model-with-black-background/29956/7 "2022-05-03T20:01:39Z")

</div>

I’m asking in what page did you import your mesh, if it was:

> **[Babylon.js Sandbox - View glTF, glb, obj and babylon files](https://sandbox.babylonjs.com/)**
>
> Viewer for glTF, glb, obj and babylon files powered by Babylon.js

or

> **[Babylon.js Playground](https://playground.babylonjs.com/)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<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:** [May 3, 2022, 8:02pm UTC](https://forum.babylonjs.com/t/sandbox-export-model-with-black-background/29956/8 "2022-05-03T20:02:35Z")

</div>

Also, can you share your Blender file? 🙂

---

<div class="post-metadata">

**Author:** ![Sandviken](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@Sandviken](https://forum.babylonjs.com/u/Sandviken)\
**Post date:** [May 3, 2022, 8:06pm UTC](https://forum.babylonjs.com/t/sandbox-export-model-with-black-background/29956/9 "2022-05-03T20:06:59Z")

</div>

oh okey! it was Babylon.js Sandbox 😃

how do i share the file here ?

---

<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:** [May 3, 2022, 8:41pm UTC](https://forum.babylonjs.com/t/sandbox-export-model-with-black-background/29956/10 "2022-05-03T20:41:20Z")

</div>

Can you upload your file to dropbox/google drive and share it?

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [May 4, 2022, 11:25am UTC](https://forum.babylonjs.com/t/sandbox-export-model-with-black-background/29956/11 "2022-05-04T11:25:46Z")

</div>

Sorry, just for me to understand - when you say “background” do you mean the scene’s clear color (or the environment)? or is it related directly to your model?
