Documentation / @ripl/3d / ResolvedSurface
Interface: ResolvedSurface ​
Defined in: 3d/src/core/shading.ts:109
A surface reduced to the numeric material terms the shading maths consumes.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
emissive | ColorUnitRGB | Light the surface emits regardless of illumination, in unit RGB. | 3d/src/core/shading.ts:115 |
shininess | number | The Blinn-Phong specular exponent. 0 disables the specular term entirely. | 3d/src/core/shading.ts:113 |
specular | ColorUnitRGB | The specular highlight colour, in unit RGB. | 3d/src/core/shading.ts:111 |