This object holds the parameters for indirect lighting like SH or AmbientColor or Lightmap.
More...
|
| virtual void | initComponent () |
| virtual void | startComponent () |
| virtual void | updateComponent () |
| virtual CObjectSerializable * | createSerializable () |
| virtual void | loadSerializable (CObjectSerializable *object) |
|
void | setLightLayers (u32 layers) |
|
void | setAutoSH (bool b) |
|
void | setIndirectLightingType (EIndirectType type, bool loadLightmap=true) |
|
void | setIndirectLightmap (ITexture *texture) |
|
ITexture * | getIndirectLightmap () |
|
void | setSH (core::vector3df *sh) |
|
void | setAmbientColor (const SColor &color) |
|
void | setCustomIntensity (float intensity) |
|
EIndirectType | getIndirectLightingType () |
|
std::vector< CIndirectLightingData * > & | getData () |
|
bool | isLightmapEmpty () |
|
bool | isLightmapChanged (const std::vector< std::string > &paths) |
|
void | removeAllData () |
|
const char * | getName () |
| virtual void | reset () |
| virtual void | endUpdate () |
|
virtual void | onEnable (bool b) |
|
virtual void | onUpdateCullingLayer (u32 mask) |
|
void | setEnable (bool b) |
|
bool | isEnable () |
|
CGameObject * | getGameObject () |
|
void | setEnableSerializable (bool b) |
|
bool | isSerializable () |
|
void | addLinkComponent (CComponentSystem *comp) |
|
void | removeAllLink () |
|
virtual | ~IActivatorObject () |
| | Virtual destructor for polymorphic activator objects.
|
This object holds the parameters for indirect lighting like SH or AmbientColor or Lightmap.
The component stores parameters related to indirect light.
The default type is Spherical Harmonics (SH). The SH values are taken from the nearest Light Probe.
However, you can change the indirect lighting to a Ambient Color or a Lightmap Texture that has been baked using a Lightmapper.
The capsule shape on the left uses SH illumination, and the one on the right uses Ambient Color
- See also
- CLightProbes