phaser-jsx
    Preparing search index...

    Variable NoiseCell2DConst

    NoiseCell2D: FC<
        ObjectProps<NoiseCell2D> & RecursivePartial<NoiseCell2D> & {
            shader: string;
        },
    > = ...

    A NoiseCell2D Game Object.

    This game object is a quad which displays cellular noise. You can manipulate this object like any other, make it interactive, and use it in filters and masks to create visually stunning effects.

    Behind the scenes, a NoiseCell2D is a Phaser.GameObjects.Shader using a specific shader program.

    Cellular noise, also called Worley Noise or Voronoi Noise, consists of a pattern of cells. This is good for modeling natural phenomena like waves, clouds, or scales.

    You can set the color and transparency, cell count, variation, and seed value of the noise. You can change the detail level by increasing noiseIterations. You can change the noise mode to output sharp edges, soft edges, or flat colors for the cells.

    You can scroll the noise by animating the noiseOffset property.

    You can set noiseNormalMap to output a normal map. This is a quick way to add texture for lighting.