Skip to content

MeshPhysicalMaterial: sheenColorMap is not exported in .toJSON() #31577

@JuanRenoldi

Description

@JuanRenoldi

Description

The texture for sheenColorMap is not exported in .toJSON()

Reproduction steps

  1. Open https://threejs.org/editor/
  2. Create any Meash and assign a MeshPhysicalMaterial to it.
  3. Add a texture to the sheenColorMap and activate it.
  4. Refresh.

Other way is to material.toJSON() and exploring the json, no texture is created from the sheenColorMap.

Code

...

Live example

...

Screenshots

No response

Version

r179

Device

Desktop

Browser

Chrome

OS

MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions