1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
//! In order for objects in a scene to be visible, there must be a
//! source of illumination so that some light is reflected from them
//! to the camera sensor.
//!
//! - DiffuseAreaLight
//! - DistantLight
//! - GonioPhotometricLight
//! - InfiniteAreaLight
//! - PointLight
//! - ProjectionLight
//! - SpotLight
//!
//! ## Diffuse Area Lights
//!
//! Area lights are light sources defined by one or more **Shapes**
//! that emit light from their surface, with some directional
//! distribution of radiance at each point on the surface.
//!
//! **DiffuseAreaLight** implements a basic area light source with a
//! uniform spatial and directional radiance distribution. The surface
//! it emits from is defined by a **Shape**. It only emits light on
//! the side of the surface with outward-facing surface normal; there
//! is no emission from the other side.
//!
//! ## Distant Lights
//!
//! A distant light, also known as directional light, describes an
//! emitter that deposits illumination from the same direction at
//! every point in space.
//!
//! ## Goniophotometric Diagram Lights
//!
//! TODO
//!
//! ## Infinite Area Lights
//!
//! Area lights are light sources defined by one or more **Shapes**
//! that emit light from their surface, with some directional
//! distribution of radiance at each point on the surface.
//!
//! An infinite far away area light source that surrounds the entire
//! scene. One way to visualize this light is as an enormous sphere
//! that casts light into the scene from every direction.
//!
//! ## Point Lights
//!
//! Isotropic point light source that emits the same amount of light
//! in all directions.
//!
//! ## Texture Projection Lights
//!
//! TODO
//!
//! ## Spotlights
//!
//! TODO
//!

pub mod diffuse;
pub mod distant;
pub mod goniometric;
pub mod infinite;
pub mod point;
pub mod projection;
pub mod spot;