WEBGI_lights_ambient (ambient and hemisphere lights, see GLTFLightsAmbientExtension) for gltf-transform. The
lights are in an array at the root of the file and nodes use them by index, as in KHR_lights_punctual, so the generic
extension class (made by createGenericExtensionClass, which keeps the data of materials, meshes, nodes and scenes)
cannot keep them. This class is modelled on KHRLightsPunctual of @gltf-transform/extensions.
WEBGI_lights_ambient(ambient and hemisphere lights, see GLTFLightsAmbientExtension) for gltf-transform. The lights are in an array at the root of the file and nodes use them by index, as inKHR_lights_punctual, so the generic extension class (made bycreateGenericExtensionClass, which keeps the data of materials, meshes, nodes and scenes) cannot keep them. This class is modelled onKHRLightsPunctualof@gltf-transform/extensions.GLTFDracoExportPlugin.gltfTransformExtensionshas it.