OpenSimplexNoise filled texture.
    public class NoiseTexture : Texture

Uses an OpenSimplexNoise to fill the texture data. You can specify the texture size but keep in mind that larger textures will take longer to generate and seamless noise only works with square sized textures.

NoiseTexture can also generate normalmap textures.

Inheritance Chain

Constructors

    public NoiseTexture()

Properties

    public bool AsNormalmap { get; set; }

If true, the resulting texture contains a normal map created from the original noise interpreted as a bump map.

    public float BumpStrength { get; set; }

    public int Height { get; set; }

Height of the generated texture.

    public OpenSimplexNoise Noise { get; set; }

The OpenSimplexNoise instance used to generate the noise.

    public bool Seamless { get; set; }

Whether the texture can be tiled without visible seams or not. Seamless textures take longer to generate.

    public int Width { get; set; }

Width of the generated texture.

Methods

    public float GetBumpStrength()

Getter for BumpStrength

    public OpenSimplexNoise GetNoise()

Getter for Noise

    public bool GetSeamless()

Getter for Seamless

    public bool IsNormalmap()

Getter for AsNormalmap

    public void SetAsNormalmap(bool asNormalmap)

Setter for AsNormalmap

    public void SetBumpStrength(float bumpStrength)

Setter for BumpStrength

    public void SetHeight(int height)

Setter for Height

    public void SetNoise(OpenSimplexNoise noise)

Setter for Noise

    public void SetSeamless(bool seamless)

Setter for Seamless

    public void SetWidth(int width)

Setter for Width

Tags: