The light component defines the entity as a source of light. Light affects all materials that have not specified a flat shading model with shader: flat. Note that lights are computationally expensive we should limit number of lights in a scene.
Parameters | Details |
---|---|
type | One of ambient, directional, hemisphere, point, spot. |
color | Light color. |
intensity | Light strength. |