Skip to content

MeshPhysicalMaterial.sheenColor says it defaults to 0xffffff in the docs, but seems to default to 0x000000 #26757

@Ameobea

Description

@Ameobea

Description

In the docs for MeshPhysicalMaterial.sheenColor, it says the default value is 0xffffff. However, when I actually construct a new MeshPhysicalMaterial() and check the default sheen color, it seems to be set to 0x0.

I don't know which is correct - the docs or the code.

Reproduction steps

  1. Construct a new MeshPhysicalMaterial and retrieve the default value of sheenColor

Code

new THREE.MeshPhysicalMaterial().sheenColor.getHex()
// 0

Live example

Screenshots

No response

Version

commit f98f680b1bce7a4e434501d9566fa8cf474963d0

Device

Desktop

Browser

Chrome

OS

Linux

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions