Skip to main content

MaterialVariantRequest

texturestringrequired

Possible values: [base_color, orm, normal, emissive, displacement, sky]

encodingstringrequired

Possible values: [xuastc_ldr, xubc7, uastc_ldr, etc1s]

blockstring

ASTC block footprint; required for xuastc_ldr and not allowed otherwise.

Possible values: [4x4, 5x4, 5x5, 6x5, 6x6, 8x5, 8x6, 10x5, 10x6, 8x8, 10x8, 10x10, 12x10, 12x12]

qualityinteger

Possible values: >= 1 and <= 100

effortinteger

Possible values: >= 0 and <= 10

max_sizeinteger

Possible values: >= 16 and <= 8192

preferredboolean

Served by the texture's bare .ktx2 link once ready.

MaterialVariantRequest
{
"texture": "base_color",
"encoding": "xuastc_ldr",
"block": "4x4",
"quality": 0,
"effort": 0,
"max_size": 0,
"preferred": true
}