Versions Compared

Key

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

...

NameDescription
ConvertToOpacityBasedOnMode(const Geo::v128 &)

Convert the transparency/opacity based on TransparencyOrOpacityMode.

ConvertToTransparencyBasedOnMode(const Geo::v128 &)

Returns the Opacity colour.

GetOpacityColourBasedOnMode()

Returns the Transparency colour.

GetTransparencyColourBasedOnMode()

Returns the Opacity colour.

Variables

NameDescription
ePrecompMaterialBackfaceBehaviourType BackfaceBehaviourType

How backfaces should behave.

float NormalScale

Scale applied to normal to exaggerate normal perturbation.

GeoTextureString NormalTexture

Texture defining tangent-space normal-mapping.

Geo::v128 NormalUvOffset

Offset applied to UVs used for normal-mapping. This is applied after the UV scale.

Geo::v128 NormalUvScale

Scale applied to UVs used for normal-mapping.

eShadowfaceBehaviourType ShadowfaceBehaviourType

Shadow casting faces.

Geo::v128 TransparencyOrOpacityColour

Solid colour material transparency/opacity. Not used if a texture is defined.

eTransparencyOrOpacityMode TransparencyOrOpacityMode

Returns the Transparency colour.

GeoTextureString TransparencyOrOpacityTexture

Texture defining the transparency/opacity over the material. UVs are taken from channel 0 (the albedo channel).

Geo::v128 TransparencyOrOpacityUvOffset

Offset applied to UVs used for transparency/opacity texture.

Geo::v128 TransparencyOrOpacityUvScale

Scale applied to UVs used for transparency/opacity texture.

...