Hilo3d API - v2.0.0-alpha.9
    Preparing search index...

    Interface SubsurfaceScatteringOptions

    Bounded portable, full-resolution subsurface diffusion controls.

    interface SubsurfaceScatteringOptions {
        maxPixelCount?: number;
        maxRadiusPixels?: number;
        normalThreshold?: number;
        sampleCount?: 9 | 17 | 25;
    }
    Index
    maxPixelCount?: number

    Maximum pixels per invocation. Defaults to 1920 × 1080. Six RGBA16F attachments cost 48 bytes per pixel; Clustered DDGI + SSGI adds three matching baseline attachments (72 bytes per pixel total), excluding shared scene color/depth and resource-pool retention. Larger invocations fail before allocation, rather than silently lowering quality.

    maxRadiusPixels?: number

    Maximum projected three-sigma kernel radius, from 1 to 256 pixels. Defaults to 64.

    normalThreshold?: number

    Minimum view-normal cosine accepted across the kernel, from 0 to 1. Defaults to 0.5.

    sampleCount?: 9 | 17 | 25

    Taps per axis: 9, 17 (default), or 25. Two separable passes use exactly twice this count.