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 optionalmultiMeshblock undertoonParamsfor per-mesh overrides keyed byTHREE.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.
- New
- Outline Depth Bias
- New
mgr.outline.setDepthBias(value)andoutlineDepthBiaspreset field — pushes the outline slightly behind the mesh to suppress z-fighting on silhouette edges.
- New