Model-viewer: Textures in model-viewer - completely black

Created on 31 Aug 2019  路  9Comments  路  Source: google/model-viewer

I've been noticing an issue with model-viewer displaying .gltf models with pure black texture instead of their default diffuse. I haven't tested the .usdz yet.
Is this on my end or is that a global issue?

Thanks

astro_bug

compatibility rendering & effects bug

All 9 comments

Thanks for reporting @mischoko . It looks like this may be a bug, as we have received another report in https://github.com/GoogleWebComponents/model-viewer/issues/679#issuecomment-527468131 suggesting that some models have regressed.

If you could help us out, our original demo at https://model-viewer.glitch.me/ does _not_ exhibit the problem. Could you share the model and <model-viewer> configuration that reproduces this problem?

Also, if you can share the browser and hardware you took that screenshot on, that would be very helpful as well 馃檹

Hmm, to give you a 100% answer I will have to check all my devices both iOS and Android. As far as I'm able to check the issue at the moment, I can tell that one of my desktops with Chrome v. 76.0.3809.132 is having this black-material bug even with the astronaut demo. However, my Android Phone with the exact same version of Chrome seems to be doing just fine.
Tomorrow I'll quadruple-check with my other desktops and mobile devices to get a bit of broader analysis.

Thanks for that detail @mischoko . Given what you have described, it sounds like the bug _could_ be hardware dependent. If you can share any details of the GPU in your desktop, that would be very helpful.

Also, could you share what model your Android phone is?

I've done a quick check on my other PC via Teamviewer and as you have mentioned, it seems to be a problem of this particular hardware setting. The Android is Honor 7A.

As for my setup at the moment - it's just a random conglomerate of pieces I threw together before I finish my main build. It does not even have a proper graphics card. I run it on in-built Intel HD 4600. Also, Win 7 if that's relevant in any way.

That's very helpful info, thanks @mischoko !

@cdata No problem, I'll get you an update tomorrow when I get it tested on other devices as well.

Alright, I've done some testing with 3 Samsungs (no idea about the chrome version or the phones themselves) 1 iPhone X, and 1 Honor 6A - everything worked fine. Also iPad pro 2017 and 2018 both OK on Safari and Chrome. Other two desktops of unknown hardware configurations - OK.

So I think it's safe to say that it might very well be an issue with my hardware in the PC I mentioned in the previous comment.

If you could help us out, our original demo at https://model-viewer.glitch.me/ does _not_ exhibit the problem. Could you share the model and <model-viewer> configuration that reproduces this problem?

I'll try to share some information too. As I've already mentioned in #679 my device (Xiaomi Redmi 4A) was previously rendering black objects, but in the case of model-viewer.glitch.me there is no object visible at all.

In our own case we're using the following config:
<model-viewer ar src="https://237529.selcdn.ru//awespace/product/6190/8786.glb" alt="3d model Faradise" auto-rotate camera-controls background-color="#ffffff" ios-src="https://237529.selcdn.ru/faradise/product/6190/8786.usdz" ></model-viewer>

And it's black everywhere (PC, iOS..) and also not visible at all on Xiaomi device.

I'm closing this as no repro, and since #679 has also been resolved as unrelated. Feel free to reopen if you find any standard hardware that reproduces it.

Was this page helpful?
0 / 5 - 0 ratings