# Unable to render texture/light in babylonjs using skybox aproach

**URL:** <https://forum.babylonjs.com/t/unable-to-render-texture-light-in-babylonjs-using-skybox-aproach/45961>\
**Category:** Questions\
**Tags:** lighting, material, mesh\
**Created:** [November 27, 2023, 12:12pm UTC](https://forum.babylonjs.com/t/unable-to-render-texture-light-in-babylonjs-using-skybox-aproach/45961 "2023-11-27T12:12:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijay\_krishna](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/vijay_krishna/32/18667_2.png) [@vijay\_krishna](https://forum.babylonjs.com/u/vijay_krishna)\
**Post date:** [November 27, 2023, 12:12pm UTC](https://forum.babylonjs.com/t/unable-to-render-texture-light-in-babylonjs-using-skybox-aproach/45961/1 "2023-11-27T12:12:04Z")

</div>

Hi,

we exported the house(.gltf format) with lighting effect and custom image textures using blender 3.6

 ![Capture12.PNG](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/a/f/afef5e4c09ebfb476e8e7a8f21cd22967b4d9bfb.jpeg)

While running from babylonjs we are unable to replicate the textures and lighting effect.  
we tried with skybox [link](https://forum.babylonjs.com/t/unable-to-render-the-textures-of-the-model-in-babylon-js/32562) but no luck

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

can somebody help us…  
Thanks  
vij

---

<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:** [November 27, 2023, 12:28pm UTC](https://forum.babylonjs.com/t/unable-to-render-texture-light-in-babylonjs-using-skybox-aproach/45961/2 "2023-11-27T12:28:47Z")

</div>

You need an environment texture for gltf files to be displayed correctly. You can do it like this:

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

It seems your model has not been exported correctly, though:

Babylon.js Sandbox:

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/e/f/ef3785eb42f81bddfd3b41e65bf8ff54753032eb.png)

Threejs viewer:

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/0/c/0ca242285222f0b5f18fa184b874da261c93d414.png)
