KhronosGroup / glTF

glTF – Runtime 3D Asset Delivery
Other
7.14k stars 1.14k forks source link

Shadow support for KHR_lights_punctual ? #2436

Open kitaedesigns opened 2 weeks ago

kitaedesigns commented 2 weeks ago

Wondering if GLTF Lights can support shadows in ThreeJS? The lights work perfectly but there's no shadows and I'm having a hard time finding any documentation surrounding this besides this post. https://github.com/takahirox/KHR_lights_shadows

aaronfranke commented 3 days ago

That seems like an implementation-specific detail. glTF lights define lights with physical units, and so should be expected to behave like physical lights, including shadows. If an implementation omits shadows, that's a mistake in the implementation.