Reference metalness()

metalness()

Sets the amount of "metalness" of a specularMaterial().

metalness() can make materials appear more metallic. It affects the way materials reflect light sources including affects the way materials reflect light sources including directionalLight(), pointLight(), spotLight(), and imageLight().

The parameter, metallic, is a number that sets the amount of metalness. metallic must be greater than 1, which is its default value. Higher values, such as metalness(100), make specular materials appear more metallic.

Examples

Syntax

metalness(metallic)

Parameters

metallic
Number:

amount of metalness.

Notice any errors or typos? Please let us know. Please feel free to edit src/webgl/material.js and open a pull request!

Related References