Taos API Reference
    Preparing search index...

    Class HQCloudFeature

    High-quality volumetric clouds — half-res raymarch + multi-scatter octaves

    • cone light march + temporal reprojection upsample. Reads + writes frame.hdr and reads frame.depth. The cloud volume composites over the supplied HDR (premultiplied alpha) so foreground geometry occludes clouds via the scene-depth gate inside the raymarch.

    Mutate settings in place to drive sliders or animation — the underlying HQCloudPass uploads them each frame via updateSettings.

    See CloudFeature for the cheaper, flat-slab single-scatter variant.

    Implements

    Index

    Constructors

    Properties

    name: string = HQCloudFeature.name

    Stable identifier used for lookup, signature hashing, and pass-name keying.

    enabled: boolean = true

    When false, the feature is skipped each frame. Toggling triggers a cached-graph invalidation.

    pass: HQCloudPass | null = null
    settings: HQCloudSettings
    weatherTexture: GPUTextureView | null = null

    Optional 2D weather map (R=coverage, G=density, 0..1) sampled by world XZ to spatially author cloudiness instead of the procedural noise. Set/clear live; pushed to the pass on change.

    Methods