How to add Area lights to gltf? I want to export my scene as gltf from blender and use it in my web app with three.js.
I checked &quot;Include punctual lights&quot; when exporting but I read that this only exports Point/Spot/Directional lights.
What about Area lights ? How do I achieve the effect of Area light in my web 3D scene ?
As of April 2021, area lights are only a proposal for the glTF format. Unless and until they become part of the format, you'd need to recreate the lights in three.js.
One workaround would be to put metadata about the lights onto empties in Blender, as Custom Properties. The custom properties can be exported with glTF &quot;extras&quot;, and become available to three.js as object.userData, which you can use to construct new objects at runtime.