UnityGLTF icon indicating copy to clipboard operation
UnityGLTF copied to clipboard

Support KHR_lights_punctual

Open revyTH opened this issue 7 years ago • 5 comments

When exporting a scene that contains lights, for example PointLight and then import back in three.js I found that the lights are imported as generic Object3D, instead of light type. Is this the expected behavior?

revyTH avatar Dec 12 '18 11:12 revyTH

This is deliberate, as glTF does not have a native concept of lights. There is a ratified extension for them, and I expect at some point UnityGLTF will support that, but progress is slow.

stevenvergenz avatar Dec 13 '18 00:12 stevenvergenz

Ah ok, thanks for the information

revyTH avatar Dec 13 '18 10:12 revyTH

Updating the title of this to track support for this extension

ericob avatar Dec 17 '18 19:12 ericob

Hello, can you please confirm this is the active thread concerning including scene lighting in Unity GLB exports and if there is any update on status (or, if I should be looking elsewhere?). thank you!

On a related note: I have noticed the WaterBottle.glb example has nice lighting that looks to be scene driven. But, I cannot figure out how that was achieved. Does anyone have an idea how that lighting was accomplished?

Thank you.

clstavros avatar Apr 08 '19 04:04 clstavros

Please update to the latest version and open a new issue if the problem persists. Thanks!

robertdorn83 avatar Feb 09 '24 09:02 robertdorn83