Skip to main content

Overview

@luma.gl/shadertools provides textual shader assembly utilities and the shader descriptors used by luma.gl engine classes. It does not compile shaders or call WebGL or WebGPU APIs.

Use the Shader-Level Programming guide for authoring choices. Use this section for exact shadertools descriptors, assembler methods, WGSL assembly behavior, and built-in module catalogs.

Reference Pages

For the uniform descriptor syntax used by shader modules, see Core Shader Types. For the engine-side module prop and binding bridge, see ShaderInputs.

Built-in Shader Modules

The API reference contains pages for the built-in shader modules exported by @luma.gl/shadertools: