This is the documentation for Enlighten.
struct Enlighten ExporterMaterial
struct Enlighten::ExporterMaterial
The properties of an Enlighten material that are relevant to radiosity.
Note that albedo/emissive are not required by the precompute and included for debugging purposes only.
Variables
Name | Description |
---|---|
ePrecompMaterialBackfaceBehaviourType m_BackfaceType | The way Enlighten interprets the backfaces of surfaces using the material. |
LinearColor m_DynamicAlbedo | The uniform albedo color of the material. This value is used only for debugging and has no effect on the precompute. |
LinearColor m_DynamicEmissive | The uniform emissive color of the material. This value is used only for debugging and has no effect on the precompute. |
bool m_Emissive | True if the material is intended to emit light. |
float m_IndirectReflectivity | The proportion of incoming indirect light that is reflected by surfaces using the material. |
float m_IndirectTransparency | The proportion of incoming indirect light that passes through surfaces using the material. |
Functions
Name | Description |
---|---|
Opaque() | The default values used by the HLBS if a material attribute is left unspecified. |
Thin() | An opaque material which represents a thin surface of which both sides are visible. |
Translucent() | A translucent material which reflects only 50% of the light hitting it. |
Transmit() | An opaque material which reflects 50% and transmits 50% of the light hitting it. |
Friends
Name | Description |
---|---|
friend bool operator!=(const ExporterMaterial &left, const ExporterMaterial &right) | Returns true if left is not equal to right. |
friend bool operator==(const ExporterMaterial &left, const ExporterMaterial &right) | Returns true if left is equal to right. |
static ExporterMaterial Enlighten::ExporterMaterial::Opaque
public: ExporterMaterial Opaque()
The default values used by the HLBS if a material attribute is left unspecified.
static ExporterMaterial Enlighten::ExporterMaterial::Thin
public: ExporterMaterial Thin()
An opaque material which represents a thin surface of which both sides are visible.
static ExporterMaterial Enlighten::ExporterMaterial::Translucent
public: ExporterMaterial Translucent()
A translucent material which reflects only 50% of the light hitting it.
static ExporterMaterial Enlighten::ExporterMaterial::Transmit
public: ExporterMaterial Transmit()
An opaque material which reflects 50% and transmits 50% of the light hitting it.