Skip to main content

Genies Web SDK v0.1.39

Updated: May 5, 2026

What's New

  • Shader Presets
    • New mgr.applyShaderPreset(presetJson) — applies a full preset blob (toon + outline) in one call, including an optional multiMesh block under toonParams for per-mesh overrides keyed by THREE.Mesh.name. Per-mesh overrides are merged with the base in a single pass (no transient wrong-state).
    • Lower-level mgr.toon.applyPreset({ base, perMesh }) is also available for consumers that want to skip the JSON layer.
  • Outline Depth Bias
    • New mgr.outline.setDepthBias(value) and outlineDepthBias preset field — pushes the outline slightly behind the mesh to suppress z-fighting on silhouette edges.