Parameters for an Effects component.

Aggregates the View's renderer effects — Scalable Ambient Obscurance, edge enhancement, HDR bloom, the HDR tonemap pass, antialiasing, and directional shadow mapping. Each entry is optional; when omitted the component falls back to its own constructor defaults.

interface EffectsParams {
    antiAliasing?: AntiAliasingParams;
    bloom?: BloomParams;
    bodyHatch?: { renderModes?: number[] };
    edges?: EdgesParams;
    sao?: SAOParams;
    sectionPlaneCaps?: { renderModes?: number[] };
    shadows?: ShadowsParams;
    sky?: SkyParams;
    tonemap?: TonemapParams;
}

Properties

antiAliasing?: AntiAliasingParams

Parameters for the View's final antialiasing pass, AntiAliasing — accessible at Effects.antiAliasing.

bloom?: BloomParams

Parameters for the View's HDR bloom post-process, Bloom — accessible at Effects.bloom.

bodyHatch?: { renderModes?: number[] }

Parameters for the View's hatched-Lambert body shading, BodyHatch — accessible at Effects.bodyHatch.

Default renderModes: [DetailedRender]. The PBR-textured path runs in every other mode; this one swaps in the un-textured Lambert variant so the material's hatch pattern dominates the body.

edges?: EdgesParams

Parameters for the View's edge enhancement effect, Edges — accessible at Effects.edges.

sao?: SAOParams

Parameters for the View's Scalable Ambient Obscurance pass, SAO — accessible at Effects.sao.

sectionPlaneCaps?: { renderModes?: number[] }

Parameters for the View's stencil-based section-plane caps, SectionPlaneCaps — accessible at Effects.sectionPlaneCaps.

Defaults to off so callers can supply their own cap geometry without paying the stencil-pass cost.

shadows?: ShadowsParams

Parameters for the View's directional shadow mapping, Shadows — accessible at Effects.shadows.

sky?: SkyParams

Parameters for the View's procedural-sky background, Sky — accessible at Effects.sky. Drives the shared SkyRenderer's draw on every frame this View is rendered.

tonemap?: TonemapParams

Parameters for the View's HDR tonemap pass, Tonemap — accessible at Effects.tonemap.