phaser-jsx
    Preparing search index...

    Variable NoiseCell3DConst

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

    A NoiseCell3D 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 NoiseCell3D 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.

    The 3D version of NoiseCell has one extra dimension: Z. The shader only renders the XY slice through the noise field. Because the centers of cells typically lie elsewhere in the hypervolume, cells appear with variation in brightness. You can scroll on the Z axis to shift the slice, smoothly changing the cell pattern.