-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
Examples: Add webgl_loader_gltf_lights. #25506
Conversation
Maybe we should make this GLB use AVIF, to resolve #25173? Reduces the model from 4.5 MB to 0.5 MB — |
I would prefer to use a separate example for this. Otherwise it might not be clear for the user why the lights example does not work in Edge and Safari. |
Ok – maybe let's use the WebP version in the archive above instead, then? It'll work in all modern browsers and is still much smaller than 4.5 MB. |
Could you try using moonless_golf_1k.hdr as |
Updated the example with the env map. Unfortunately, I can't generate the new screenshot right now on my mac Mini (still getting the runtime error mentioned in #25504 (comment)). I'll do it later on my Windows machine. |
Fixed #18629.
Description
Adds an example that makes use of the
KHR_lights_punctual
extension.