npm / @luma.gl/core
@luma.gl/core
What changed in @luma.gl/core 9, from its official release notes, upgrade guides and advisories. Also covers @luma.gl/engine, @luma.gl/shadertools, @luma.gl/webgl. Sources checked 2026-10-25.
18 new APIs and options2 behavior and defaults4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@luma.gl/core 924 changes
New APIs and options 18
WGSL shader modules support
@binding(auto)to eliminate binding conflicts.Semantic color normalization now has a helper namespace; the legacy floatColors alias remains available.
New WGSL helpers decode compact Uint64 DGGS cell keys for storage-buffer and boundary-extraction workflows.
A new shader module provides shared semantic color normalization and premultiplied alpha helpers.
The WGSL module adds helpers for splitting binary64-rounded subtraction into normalized double-single limbs, normalizing and comparing limbs with integer-controlled behavior, and classifying non-finite values.
The shader module can subtract packed IEEE 754 double-precision values directly in WGSL and convert the result to f32.
A new shader module adds a diffuse-only matte material model.
The shader module supports a new light type,
SpotLight.This shader define can force or disable integer-controlled double-single arithmetic.
All material shader modules support an
unlitprop so applications can disable lighting for materials that are already lit.Byte-based semantic color APIs accept
useByteColors: falsefor float and HDR-style color values while preserving current defaults.ShaderModules now have WGSL variants, enabling shader modules to be used with WGSL.
A new shader-pass pipeline type supports structured multi-pass postprocessing.
Reusable shader assembly plugins group modules, defines, named injections, caller-owned vertex inputs, and generated cross-stage varyings.
WebGPU shaders can read packed RGBA storage rows through this helper.
The shared fp32 shader module provides a portable tangent approximation in GLSL and WGSL.
A new water material shader module provides GLSL and WGSL shaders.
Preprocessing accepts simple boolean and numeric #if expressions; assembled WGSL exposes a vertex-storage capability define so inactive resource branches are removed before automatic binding assignment.
Behavior and default changes 2
ShaderAssembler applies registered hook functions and standard named injections while assembling unified WGSL shaders.
uniformTypessupports nested structs and fixed-size arrays.
Fixes and other changes 4
Indexed model draws now honor the vertex count.
The default framebuffer is resized after an external canvas resize.
The legacy alias remains available alongside the new colors helper namespace.
WGSL double-single arithmetic automatically uses integer-controlled operations on Apple WebGPU adapters to avoid Metal compiler reassociation while retaining the vec2f API.