Skip to content

Documentation / @ripl/3d / LIGHT_UNIFORM_FIELDS

Variable: LIGHT_UNIFORM_FIELDS ​

const LIGHT_UNIFORM_FIELDS: UniformField[]

Defined in: 3d/src/core/uniforms.ts:72

The per-light fields, in declaration order.

Each is a vec4f so the array stride stays 16-byte aligned, with the scalar that would otherwise need its own slot folded into the unused w component.