Phasor Noise*

Phasor Noise Preview

Phasor Noise creates spatially-coherent oscillating patterns by synthesizing collections of oriented Gabor kernels. Unlike traditional noise functions (Perlin, Simplex) that produce smooth, isotropic gradients, Phasor Noise generates controllable, oriented frequency patterns. This makes it ideal for materials with intrinsic directional structure, such as wood grain, fabrics, fingerprints, or interference patterns, where precise control over frequency, bandwidth, and orientation is required.

Performance Cost 🔴 High
Space 2D UV Space
Implementation Native Compiled C++
Devices (Cycles) CPU / GPU (Varies)

Usage & Behavior

PWM profile with values 50, 32, 16 0.3
Saw-Tooth profile with values 25, 32, 0.001, 0.3
Square profile plus ramp
Stepped profile

The output of Phasor Noise is an oscillating signal (like a sine wave) that moves through space. By varying the Orientation parameter, you can make these waves flow like a river. By changing the Profile, you can instantly change the character of the wave from a smooth undulation to a hard geometric stripe or a chaotic turbulent flow.

Best Used For: Wood grain, fabrics, fingerprints, dunes, water ripples, interference patterns, and stylized stripes.

Key Features

  • Gabor Kernels: Synthesizes noise using oriented sinusoidal impulses.
  • 14 Wave Profiles: Extensive library of wave shapes for different looks.
  • Directional Flow: Pattern orientation is explicitly controllable.

Wave Profiles

The Profile parameter is the heart of Phasor Noise. It re-shapes the underlying oscillating signal into different waveforms:

Natural / Smooth
  • SIN: Standard sine wave. Gentle, natural oscillation.
  • SIGMOID: S-curve gradient. Smoother than sine.
  • PARABOLIC: Soft arches. Very organic.
Geometric / Hard
  • SQUARE: Hard binary stripes. High contrast.
  • TRIANGLE: Linear ramps with sharp peaks.
  • SAWTOOTH: Asymmetric one-way ramps.
  • STEPPED: Quantized, posterized levels.
Organic / Varied
  • ABS-SINE: Absolute sine. Creates ridges (wood grain).
  • PULSE: Sharp spikes with decay. Cellular/Halo looks.
  • TURBULENT: Chaotic, multi-frequency distortion.
  • PWM: Pulse Width Modulation. Variable stripe width.

Parameters

Profile Enum
Selects the waveform shape. See the Wave Profiles section above for details.
Use 3D (bool, default: true)
Enables the 3D version of the noise.
While the core Phasor logic is 2D-based (oriented kernels), this mode projects it into 3D space, which is faster because it uses a fixed orientation strategy.
Coords Vector
Input texture coordinates.
Scale Vector (default: 4.0, 4.0, 4.0)
Global scaling of the pattern.
Frequency (default: 50.0)
Controls the density of the stripes/oscillations. Higher values create tighter, thinner lines.
Bandwidth (default: 32.0)
Controls the "spread" or localization of the Gabor kernels.
- High values: Narrow frequency range, very regular pattern.
- Low values: Wide frequency range, more chaotic/noisy.
Orientation (default: 8.0)
Controls the flow direction of the kernels.
- Low values: Kernels align more uniformly (laminar flow).
- High values: Kernels rotate rapidly, creating swirls and eddies.
Width (default: 0.3)
Used primarily by PWM and Pulse profiles. Controls the duty cycle (thickness) of the stripes.

Quick Recipes

Use these settings for directional materials.

Fingerprints

Profile: SIN
Frequency: 80.0
Orientation: 12.0
Bandwidth: 20.0
High frequency and moderate orientation create the swirling, ridge-like loops of skin.

Barcode / Scanlines

Profile: PWM
Width: 0.2
Frequency: 40.0
Orientation: 0.0
PWM profile with zero orientation creates perfect, parallel, variable-width lines.

Alien Muscle

Profile: ABS-SINE
Orientation: 5.0
Frequency: 60.0
Use 3D: True
Absolute sine creates fibrous ridges that twist and turn organically in 3D.
Technical Note: The noise evaluates a sum of Gabor kernels: Gaussian(x) * cos(2πf(x·d) + φ). The implementation ensures deterministic results across CPU and GPU by using Morton-encoded seeds and custom hashing logic, avoiding platform-specific floating point drifts.
↑ Back to Top

Leave a Reply