Module prelude

Module prelude 

Source
Expand description

The light prelude.

This includes the most common types in this crate, re-exported for your convenience.

Structsยง

AmbientLight
An ambient light, which lights the entire scene equally.
DirectionalLight
A Directional light.
EnvironmentMapLight
A pair of cubemap textures that represent the surroundings of a specific area in space.
GeneratedEnvironmentMapLight
A generated environment map that is filtered at runtime.
LightProbe
A marker component for a light probe, which is a cuboid region that provides global illumination to all fragments inside it.
PointLight
A light that emits light in all directions from a central point.
SpotLight
A light that emits light in a given direction from a central point.