Interface Material

Hierarchy

  • Material

Properties

alpha?: ValueMap

Alpha value or map. Value and map replace each other. Values in the range 0.0 to 1.0. 0.0 is transparent, 1.0 is opaque. Map is grayscale. Black is transparent, white is opaque.

diffuse?: ColorMap

Diffuse property. Both color and map are supported. Color and map replace each other.

diffuseDelta?: TextureMap

Diffuse delta map. The delta map modifies the diffuse color/map and typically has it's own mapping.

Format: 24 Bit (RGB)

The handling (for each channel/color) is:

  • linear mapping of [0, 255] to [0, 2]
  • multiplication with the diffuse/color value

0 sets the original value to 0. 127/128 keeps the original value. 255 doubles the original value.

emission?: ColorMap

Emission color. No map supported

mapping?: TextureMapping

Default mapping, may be overridden by specific texture maps.

normal?: BasicMap

Normal map.

parameters?: Record<"DoNotRescale" | "Overlay", object>

Optional geometry-related parameters, to be resolved at client-side.

"DoNotRescale": Marks the material as not re-scaleable. Re-scaling can be applied for psychological reasons, for instance. Target type: Boolean

"Overlay": For alpha-map materials, tells the renderer that the associated geometry should be an overlay to other geometries at the same location. Target type: Boolean

IGXC Compatibility: Metamaterial parameters but without redundancy.

roughness?: BasicMap

Roughness map.

roughnessDelta?: TextureMap

Roughness delta map. The delta map modifies the roughness value/map and typically has it's own mapping.

Format: 8 Bit (Grayscale)

The handling is:

  • linear mapping of [0, 255] to [0, 2]
  • multiplication with the roughness value

0 sets the original value to 0. 127/128 keeps the original value. 255 doubles the original value.

shininess?: number
specular?: ColorMap

Specular map. Both color and map are supported. The color (white if undefined) will be used as a factor to the map, if any.

taxonomy?: Record<string, object>

Taxonomy information according to docs/ig_Taxonomy

Generated using TypeDoc