-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot export lights #786
Comments
Confirmed. |
Is an area light just geometry with emission? I think they should just be ignored instead of crashing... |
@fire An area light is directional, where an emissive plane is multidirectional. --> We are going to ignore these type of light for now |
Fix #786 crash trying to export area lights
push |
@asarra This is not a bug — not all of Blender's light types exist in glTF or other software. Only point, spot, and directional lights can be exported to glTF 2.0 currently. If you're looking for something else to be added to glTF, I would recommend commenting on KhronosGroup/glTF#1940. |
Thanks and sorry for my ignorant comment. I didn't know that this was the case. I'm new to this blender and unity stuff. |
Are you trying to export a model to bring into any particular software? The answer might depend a little on that, but I'd probably suggest using an emissive effect (in recent versions of Blender, there's an Emissive socket on the Principled BSDF material). You may need to enable a bloom post-processing effect to get a good visual result from the emissive material — this would be true in Blender's Eevee renderer, and in realtime renderers like three.js and Unity. Baked lighting can also give some nice effects with a bit more work. |
Hey again. I've replaced the area lights with 4 directional lights and made the walls a bit shorter so that the sun lights can go through the small gaps. Not what I really wanted either, but I do not have another choice for now, I suppose. I'll look into that bloom post-processing. |
Describe the bug
Blender 2.81 cannot export punctual lights with the splash art scene.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Glb file should be created.
Screenshots
.blend file/ .gltf
Blender 2 Truncated.zip
https://cloud.blender.org/p/gallery/5dd6d7044441651fa3decb56
Version
The text was updated successfully, but these errors were encountered: