Lumina is Sparkle's custom GLSL-script language for writing shaders. It compiles to GLSL plus a machine-readable artifact that Sparkle uses to bind inputs, outputs, constants, attributes, and textures.
- Use in Sparkle: For shaders, Sparkle uses the custom GLSL-script Lumina. Documentation is here.
- What you write: a .lum file describing pipeline flow, types, blocks, functions, and the two stages VertexPass() and FragmentPass().
- What Sparkle needs: the generated GLSL and the compiled artifact with layout, framebuffer, blocks, and textures.
Summary