Table of Contents

Class NoiseTextureGenerator

Namespace
Map.Loading
Assembly
MapAssembly.dll

Generates tileable noise textures for anti-tiling effects Used by terrain detail mapping to break up texture repetition

Architecture:

  • Output: Tileable noise texture (R8_UNorm grayscale)
  • Method: Simple value noise with tiling support
  • Purpose: Input for Inigo Quilez anti-tiling technique
public static class NoiseTextureGenerator
Inheritance
object
NoiseTextureGenerator

Methods

GenerateNoiseTexture(int, bool)

Generate tileable noise texture for anti-tiling

public static Texture2D GenerateNoiseTexture(int size = 256, bool logProgress = true)

Parameters

size int

Texture size (power of 2 recommended)

logProgress bool

Enable progress logging

Returns

Texture2D

Tileable noise texture (R8_UNorm format)