Skip to content

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 ​

PropertyTypeDescriptionDefined in
emissiveColorUnitRGBLight the surface emits regardless of illumination, in unit RGB.3d/src/core/shading.ts:115
shininessnumberThe Blinn-Phong specular exponent. 0 disables the specular term entirely.3d/src/core/shading.ts:113
specularColorUnitRGBThe specular highlight colour, in unit RGB.3d/src/core/shading.ts:111