Hubs-Foundation / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
https://hubsfoundation.org
Mozilla Public License 2.0
2.13k stars 1.42k forks source link

Hubs does not support Specular/Glossiness materials #1613

Open brianpeiris opened 5 years ago

brianpeiris commented 5 years ago

Description Some GLBs load with missing/black textures. E.g: https://poly.google.com/view/ejF8pZvNHHh This model loads correctly in all other GLTF viewers, but not in Spoke and Hubs. The core issue is that we don't support Specular/Glossiness materials in GLTF (https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_pbrSpecularGlossiness)

See the related Spoke issue here: https://github.com/mozilla/Spoke/issues/388

To Reproduce Steps to reproduce the behavior:

  1. Load https://poly.google.com/view/ejF8pZvNHHh in Hubs
  2. See that the texture is black

Expected behavior GLB should appear as it does in other GLTF viewers.

Screenshots GLB in Hubs: image GLB in Don McCurdy's GLTF Viewer: image

Hardware

joshmarinacci commented 4 years ago

Do we support this now?

aelainelong commented 4 years ago

Also curious to know whether this has been/is being addressed or will be in the near future?

takahirox commented 3 years ago

It seems #4198 resolves this issue. Specular/Glossiness looks rendered correctly on my test server.

takahirox commented 3 years ago

@brianpeiris I merged #4198. Would you please test on your end again and close this issue if you confirm it's fixed?