Skip to content

Sigil 0.2.7.12

Choose a tag to compare

@github-actions github-actions released this 13 Dec 07:27
· 80 commits to main since this release

Fixed

  • CustomShaderEffect() now accepts glslFragmentShader parameter: The helper function was missing the GLSL shader parameter, causing all effects created via CustomShaderEffect() to have no GLSL fallback. Since Sigil now uses WebGL exclusively for effects (due to Materia limitations), this meant effects couldn't render.

Usage

CustomShaderEffect(
    id = "aurora",
    fragmentShader = wgslShaderCode,        // WGSL (for future WebGPU support)
    glslFragmentShader = glslShaderCode,    // GLSL (required for current WebGL rendering)
    uniforms = mapOf(...)
)