Renderer · const

MATERIAL_FLOATS

Floats a material owns: tint rgb, emissive, roughness, specular, reflectivity, metalness.

Explained in Hello world.

const MATERIAL_FLOATS = 28
import { MATERIAL_FLOATS } from '@driftengine/core';

In depth

Five blocks since 2026-09-17 — the three texture programs, the UV scale and the map strengths joined the eight — and gpudriven/materialTable.ts writes them.