Variant configuration for a Lambert-style DrawOp that has up to six pre-compiled DrawTechniques — one per (hasNormals, hasUVs, triplanar) combination (with hasUVs && triplanar excluded by construction). Only the flat/no-UVs technique is required; missing variants fall through to closer matches at draw time.

Properties

technique: DrawTechnique

Flat-shaded, no UVs. Always required.

withNormals?: DrawTechnique

Smooth-shaded, no UVs. Used when batch has normals but no UVs.

withNormalsAndTriplanar?: DrawTechnique

Smooth-shaded triplanar — textured material on UV-less geometry, world-space sampling with blend weights derived from per-vertex normals rotated to world space.

withNormalsAndUVs?: DrawTechnique

Smooth-shaded, with UVs. The texture-ready PBR variant.

withTriplanar?: DrawTechnique

Flat-shaded triplanar — textured material on UV-less geometry, world-space sampling with face-normal blend weights derived from dFdx/dFdy(vWorldPos).

withUVs?: DrawTechnique

Flat-shaded, with UVs. Rare; included for completeness.