Skip to content

EffectMaterialOptions

Defined in: packages/three-flatland/src/materials/EffectMaterial.ts:58

Options for EffectMaterial constructor.

optional effectTier?: number

Defined in: packages/three-flatland/src/materials/EffectMaterial.ts:66

Effect buffer tier size in floats. Buffers are allocated in tiers: 0, 4, 8, 16, then multiples of 4 up to the 24-float cap (EffectMaterial.MAX_EFFECT_FLOATS). Default is 8 (2 vec4 buffers), covering most effect combinations. Set to 0 for fully effect-free materials (no effect buffer overhead).