# IES lights not working

**URL:** <https://forum.babylonjs.com/t/ies-lights-not-working/46802>\
**Category:** Bugs\
**Tags:** lighting, gui, material\
**Created:** [December 29, 2023, 10:49am UTC](https://forum.babylonjs.com/t/ies-lights-not-working/46802 "2023-12-29T10:49:02Z")\
**Posts on this page:** 11\
**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:** [December 29, 2023, 10:49am UTC](https://forum.babylonjs.com/t/ies-lights-not-working/46802/1 "2023-12-29T10:49:02Z")

</div>

HI,

We trying for IES light effect from web…

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

The output seems completely distorted, is there any specific methods we need to use ?

using blender we are able to the below output

 ![lights.PNG](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/f/7/f72cb26356da9038dbcd0846c3d2e452006e7094.jpeg)

---

<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:** [January 2, 2024, 7:38am UTC](https://forum.babylonjs.com/t/ies-lights-not-working/46802/2 "2024-01-02T07:38:34Z")

</div>

just tried a workaround…

@blender…added sun light to the scene and few configurations, exported in gltf format  
seems sun light is not exported inspite of selecting “punctual lights” while exporting in gltf format…

 ![sunlight.PNG](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/d/6/d69ff3e771709a3beb28ada7902df4b29a8226a2.jpeg)

@sebavan can u help us how to get this effect

---

<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:** [January 2, 2024, 10:19pm UTC](https://forum.babylonjs.com/t/ies-lights-not-working/46802/3 "2024-01-02T22:19:50Z")

</div>

This is not supported in Babylon or GLTF ☹ there are some discussions in progress for GLTF to add it but it is not there yet cc @bghgary to confirm

---

<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:** [January 2, 2024, 10:43pm UTC](https://forum.babylonjs.com/t/ies-lights-not-working/46802/4 "2024-01-02T22:43:23Z")

</div>

The working group merged the IES extension already. It is here: [glTF/extensions/2.0/Vendor/EXT\_lights\_ies/README.md at main · KhronosGroup/glTF (github.com)](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_lights_ies/README.md). This is a multi-vendor extension so it does not need to be ratified. I am only aware of NVidia supporting this extension. We are free to implement it, but I don’t know how complex it is.

---

<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:** [April 10, 2024, 8:05am UTC](https://forum.babylonjs.com/t/ies-lights-not-working/46802/5 "2024-04-10T08:05:04Z")

</div>

@bghgary in Babylonjs 7.0 any update in the IES lights, i could not find anything on this

This [gltf](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_lights_ies/README.md) approach is too complex to implement. Any help with relavant PG would be great

Thanks  
vij

---

<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:** [April 16, 2024, 12:33am UTC](https://forum.babylonjs.com/t/ies-lights-not-working/46802/6 "2024-04-16T00:33:55Z")

</div>

No, we haven’t made any progress on this. Why do you say the glTF approach is too complex?

---

<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:** [April 16, 2024, 2:45am UTC](https://forum.babylonjs.com/t/ies-lights-not-working/46802/7 "2024-04-16T02:45:26Z")

</div>

@bghgary thanks for the update  
We imported.ies file into blender and applied to the scene, once it is exported in gltf format we are unable to get the effect in Babylonjs

Thanks  
vij

---

<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:** [April 16, 2024, 4:14pm UTC](https://forum.babylonjs.com/t/ies-lights-not-working/46802/8 "2024-04-16T16:14:04Z")

</div>

Does Blender support exporting to glTF with the IES extension?

---

<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:** [April 17, 2024, 6:39am UTC](https://forum.babylonjs.com/t/ies-lights-not-working/46802/9 "2024-04-17T06:39:13Z")

</div>

am using blender 3.6 and gltf version 2.0  
could not find official documentation on this from blender

---

<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:** [April 17, 2024, 9:43pm UTC](https://forum.babylonjs.com/t/ies-lights-not-working/46802/10 "2024-04-17T21:43:33Z")

</div>

My guess is that Blender doesn’t support the IES extension since it’s relatively new. Without that, the pipeline will be missing a step.

I also noticed there is another thread on this topic: [IES light profile support - Feature requests - Babylon.js (babylonjs.com)](https://forum.babylonjs.com/t/ies-light-profile-support/36088)

---

<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:** [December 4, 2024, 11:14pm UTC](https://forum.babylonjs.com/t/ies-lights-not-working/46802/11 "2024-12-04T23:14:29Z")

</div>

Ok team we have an implementation being almost done and I would like to also support the gltf extension

Is there any gltf file that I can use. I do not think blender supports the extension based on my tests
