Material |
The MaterialBase type exposes the following members.
Name | Description | |
---|---|---|
_indexOfRefraction | The index of refraction. i.e. a value between 1 and infinity. | |
_metalness | Value between 0 and 1. A value of 0 indicates a plastic like surface, a value of 1 a metal like surface. If 0, the reflected specular light has the same color as the incident light (thus as if it is reflected at a white surface). This is the behaviour of plastic surfaces. If 1, the reflected specular light is multiplied with the material diffuse color. This is the behaviour of metals like gold. | |
_smoothness | A value between 0 and 1. A value of 0 defines a rough surface, a value of 1 a very shiny one. |