Light

Home

Light is an Interface that all light Urbjects implement to maintain a standard process during the rendering process.

See also: Urbject, AmbientLight, DirectionalLight, PointLight

Interface

brightness: number The brightness of the light. Any value above 1 is considered "overexposed".
color: Color The color of the light. See also: Color
intensityOn(t: Trigon): number The intensity that the light would shine on the given Trigon. This could be affected by distance, the normal of the Trigon, and other factors. Any value returned above 1 is considered "overexposed".

Home

Copyright © 2020 Trevor Richard