mjtTextureRole — role of texture map in rendering. From MuJoCo's headers, as numbers. All 11 values carry a number in the header.
Summary
Functions
mjTEXROLE_EMISSIVE is 7 — light emission.
mjTEXROLE_METALLIC is 4 — metallic.
mjNTEXROLE is 10.
mjTEXROLE_NORMAL is 5 — normal (bump) map.
mjTEXROLE_OCCLUSION is 2 — ambient occlusion.
mjTEXROLE_OPACITY is 6 — opacity.
mjTEXROLE_ORM is 9 — occlusion, roughness, metallic.
mjTEXROLE_RGB is 1 — base color (albedo).
mjTEXROLE_RGBA is 8 — base color, opacity.
mjTEXROLE_ROUGHNESS is 3 — roughness.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
mjTEXROLE_USER is 0 — unspecified.
Every value, as {name, integer}, in the order the header lists them.
Types
@type t() :: integer()
Functions
@spec emissive() :: 7
mjTEXROLE_EMISSIVE is 7 — light emission.
@spec metallic() :: 4
mjTEXROLE_METALLIC is 4 — metallic.
@spec mjntexrole() :: 10
mjNTEXROLE is 10.
@spec normal() :: 5
mjTEXROLE_NORMAL is 5 — normal (bump) map.
@spec occlusion() :: 2
mjTEXROLE_OCCLUSION is 2 — ambient occlusion.
@spec opacity() :: 6
mjTEXROLE_OPACITY is 6 — opacity.
@spec orm() :: 9
mjTEXROLE_ORM is 9 — occlusion, roughness, metallic.
@spec rgb() :: 1
mjTEXROLE_RGB is 1 — base color (albedo).
@spec rgba() :: 8
mjTEXROLE_RGBA is 8 — base color, opacity.
@spec roughness() :: 3
mjTEXROLE_ROUGHNESS is 3 — roughness.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
@spec user() :: 0
mjTEXROLE_USER is 0 — unspecified.
Every value, as {name, integer}, in the order the header lists them.