MrBizle
MrBizle

Reputation: 418

Google model viewer lighting

We have created a model for use with the google model viewer web component here.

Lighting on the model is as expected when opened in AR (IOS - Safari), but not in the viewer. I would like to understand why.

Upvotes: 0

Views: 1450

Answers (2)

Mithru
Mithru

Reputation: 101

Try adding an environment-image attribute to your modelviewer with a plain white image or something similar.

Unless your models are flat/unlit you will need the environment-image as far as I understand.

Upvotes: 1

bpedazur
bpedazur

Reputation: 381

It's a bug in model-viewer that some objects are just black. This is an open issue as you can see on the model-viewer GitHub. You can try recreating this model or creating another model, many times it works.

Upvotes: 0

Related Questions