Skip to content

GLTF with material that uses transmission misses color in model-viewer but not in other renderers like babylon.js #4047

@Bersaelor

Description

@Bersaelor

Description

When I preview our model using modelviewer the Plastic.002 material is missing it's color.
Other renderers like bablyonjs look fine.

I have been trying the new transmission property, so somehow the different parameters between Plastic.001 (which just has alpha < 1) and the new way of achieving transparency using the transmission parameter remove the color from the material.

Live Demo

Drag the model into the above mentioned viewers and it will look like this:

Screenshot 2023-01-13 at 12 48 13

Version

  • model-viewer: v2.1.1

Browser Affected

  • Chrome, version: 108.0.5359.124
  • Edge
  • Firefox
  • IE
  • Safari

OS

  • Android

  • iOS

  • Linux

  • MacOS

  • Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions