Module three_d::light[][src]

A collection of light types. Currently implemented light types are ambient light, directional light, spot light and point light. Directional and spot lights can cast shadows.

Structs

AmbientLight

A light which shines equally on all parts of any surface.

DirectionalLight

A light which shines in the given direction. The light will cast shadows if you generate a shadow map.

PointLight

A light which shines from the given position in all directions.

SpotLight

A light which shines from the given position and in the given direction. The light will cast shadows if you generate a shadow map.