ignifx0.x · unpublished
GitHub

File formats·skills/ignifx/references/formats/ignifx.material.md

ignifx.material

<!-- Generated by `pnpm docs:schemas`. Do not edit by hand. -->

Material file (ignifx/material-file)#

A PBR or Standard material: colours in sRGB, factors unitless, textures as { "$asset": … } references.

FieldKindDefaultDescription
formatstr"ignifx.material"Always "ignifx.material".
formatVersionu321The file format version; 1 before ignifx 1.0.
typeenum"pbr"The material family: pbr, standard, shader. "shader" arrives in Phase 7.
namestr""A human-readable name; glTF overrides match on it.
baseColorcolor[1,1,1,1]PBR: sRGB base colour and alpha.
metallicf321PBR: metallic factor, 0 to 1.
roughnessf321PBR: roughness factor, 0 to 1.
normalScalef321PBR: normal map strength.
emissivecolor[0,0,0,1]sRGB emissive colour.
occlusionStrengthf321PBR: how strongly occlusion darkens.
alphaModeenum"opaque"How alpha is read: opaque, mask, blend.
alphaCutofff320.5The cutoff a "mask" material discards below.
alphaf321Overall material alpha, 0 to 1.
doubleSidedboolfalseWhether back faces are drawn.
unlitboolfalseWhether lighting is skipped entirely.
environmentIntensityf321PBR: environment map contribution.
diffusecolor[1,1,1,1]Standard: sRGB diffuse colour.
specularcolor[1,1,1,1]Standard: sRGB specular colour.
specularPowerf3264Standard: specular exponent.
baseColorTextureassetnullPBR: the base colour map (sRGB).
metallicRoughnessTextureassetnullPBR: the packed ORM map.
normalTextureassetnullThe tangent-space normal map.
emissiveTextureassetnullThe emissive map (sRGB).
occlusionTextureassetnullPBR: a separate occlusion map.
diffuseTextureassetnullStandard: the diffuse map (sRGB).
specularTextureassetnullStandard: the specular map.
opacityTextureassetnullStandard: the opacity map.