Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

struct Enlighten::PipelineMaterial

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

NameDescription
ePrecompMaterialBackfaceBehaviourType m_BackfaceType

The way Enlighten interprets the backfaces of surfaces using the material.

LinearColor Geo::GeoVector4 m_DynamicAlbedo

The uniform albedo color colour of the material. This value is used only for debugging and has no effect on the precompute.

LinearColor Geo::GeoVector4 m_DynamicEmissive

The uniform emissive color colour 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.

...