Closed agnat closed 1 year ago
Like meshes and cameras light sources are instantiated using scene nodes. This PR implements parsing these light source references. See https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_lights_punctual/README.md#adding-light-instances-to-nodes
Nice! One thing need to modify: https://github.com/syoyo/tinygltf/pull/423/files#r1219313659
Thanks! Merged!
Like meshes and cameras light sources are instantiated using scene nodes. This PR implements parsing these light source references. See https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_lights_punctual/README.md#adding-light-instances-to-nodes