PokéRogue
    Preparing search index...

    Type Alias PanoramaBlurConfig

    type PanoramaBlurConfig = {
        power?: number;
        radius?: number;
        samplesX?: number;
        samplesY?: number;
    }
    Index
    power?: number

    An exponent applied to samples. Power above 1 increases darkness, allowing brighter colors to dominate. Power below 1 increases brightness, reducing the influence of brighter colors. To simulate an HDR environment with bright sunlight that cannot be represented in sRGB color, use low power.

    radius?: number

    The radius of the blur effect. 1 samples an entire hemisphere; 0 samples a single point.

    samplesX?: number

    The number of samples to take along the X axis. More samples produces a more accurate blur, but at the cost of performance. The X axis in a panorama is usually wider than the Y axis.

    samplesY?: number

    The number of samples to take along the Y axis. More samples produces a more accurate blur, but at the cost of performance.