[][src]Module three::light

Contains different types of light sources.

Structs

Ambient

Omni-directional, fixed-intensity and fixed-color light source that affects all objects in the scene equally.

Directional

The light source that illuminates all objects equally from a given direction, like an area light of infinite size and infinite distance from the scene; there is shading, but cannot be any distance falloff.

Hemisphere

HemisphereLight uses two different colors in opposite to Ambient.

HemisphereLightData

Internal data for Hemisphere lights.

LightData

Internal data for Ambient, Directional, and Point lights.

Point

Light originates from a single point, and spreads outward in all directions.

ShadowMap

ShadowMap is used to render shadows from PointLight and DirectionalLight.

Traits

Light

Marks light sources and implements their common methods.