-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Support for glTF extension KHR_lights_punctual #2061
Comments
Blocked on #2063. |
I too am waiting for https://github.com/cx20/gltf-test#extension-test-models Test model: |
I have confirmed that this extension is available in the latest version of PlayCanvas and updated the status of gltf-test. |
Thanks for confirming that this test now passes, @cx20. You're the best! 🙏 |
Description
KHR_lights_punctual is a glTF 2.0 extension supported by most major WebGL libraries. We propose that the PlayCanvas built-in glTF parser should support this as it is the current de-facto standard for storing light source information in glTF.
Step to reproduce
What I expect to see and what I saw instead
Note that the mocked lights for the “Expected” results are an approximation and might not match exactly what a proper implementation would yield.
Point lights:
Spot lights:
The text was updated successfully, but these errors were encountered: