How to access/select the punctual lights on my glb file? #4147
Unanswered
gabrielgaldinomagalhaes
asked this question in
Q&A
Replies: 2 comments
-
We don't expose lights in our public API. You can hack down to our three.js layer by accessing our private |
Beta Was this translation helpful? Give feedback.
0 replies
-
@gabrielgaldinomagalhaes have you solved this problem |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a model that consists in: a black box and a punctual light inside of it. I can see the light "lightning" the box, and I can see it getting dark if I change the exposure of the model-viewer. But I wanted to now how can I selected the actual light, and for example work with the intensity or even the color of this source of light. Is it possible?
In the video bellow I'm actually changing the exposure values of the model-viewer, but I wanted to reach the light sources. Is it possible ?
In my case use I would have more objects, not just a black box. I tried also with mesh and emissive materials, but it feels like the emissive don't really work too, because once I get the exposure down, the emissive also gets black.
_model-viewer_.template.-.Google.Chrome.2023-03-01.18-41-16.mp4
Beta Was this translation helpful? Give feedback.
All reactions