-
Notifications
You must be signed in to change notification settings - Fork 914
Open
Labels
type: bugSomething isn't workingSomething isn't working
Description
Description
GLB supports lights, and we're using them in a good number of scenes by now.
When scaling models in the WebXR mode, lights behave "wrong", their effect isn't invariant (invariant would be expected).
Expected: scaling in WebXR mode has the same visual effect as scaling in Display mode - light intensity, radius etc. stays invariant.
Actual: scaling in WebXR has a different visual effect, it seems that light radius and intensity aren't scaled accordingly.
Live Demo
Open attached file in modelviewer.dev/editor and deploy to mobile with AR enabled
LightScale.zip
Video:
https://user-images.githubusercontent.com/2693840/121874453-a87a8900-cd07-11eb-9191-7b7ad9bf30b9.mp4
Version
Latest on modelviewer.dev/editor
Browser Affected
all with WebXR support
OS
- Android
- iOS
- Linux
- MacOS
- Windows
AR
- WebXR
- SceneViewer (behaves "better" in the sense that lights don't blow out as crazy, but has the same issue)
- QuickLook
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't workingSomething isn't working