Base class for directional light sources.
Describes a global graphics effect applicable to an
Base class for light sources.
Defines ambient light, a light of fixed intensity which affects all objects equally.
Graphics effect which adds a sky/atmosphere background to a 3D view.
A directional light with a user-specified direction vector.
Graphics effect which enables fog in a 3D view.
A central registry for global graphics effects in an
A directional light source which automatically follows the orientation of the viewer.
ILspView. Examples of such effects include lighting and fog. Each
ILspViewhas an instance of
TLspGraphicsEffects, which is available via
TLspGraphicsEffectsserves as a central repository for
ALspGraphicsEffectobjects, which describe the effects that should be applied in the view. It is up to layers and painters to translate the requested effects into actual OpenGL rendering code; this package does not implement or dictate how an effect should be applied to a particular layer. The most important category of effects is lighting. This package describes
directionallight sources. The latter can be either a
stationarylight or a
camera-relativelight. Note that TLspViewBuilder.defaultEffects() can be used as a convenient way to add a default lighting and fog setup to any view.